update Hook/debug_hook.c.

Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
零中断延迟的RTOS
2025-08-08 06:41:21 +00:00
committed by Gitee
parent 4f2579b194
commit 6f41a4ce7e
+4 -3
View File
@@ -4,12 +4,13 @@
* @brief DEBUG钩子
* @details 在系统调试任务中被调用,用户可自行实现DEBUG信息的输出。
* @author 迟凯峰
* @version V2.0.0
* @date 2025.08.04
* @version V2.0.1
* @date 2025.08.08
******************************************************************************/
#include "CosyOS.H"
#if (SYSCFG_DEBUGGING == __ENABLED__)
#if 1 /* 编译开关 *//* 如果该函数在用户文件中实现且此处的弱定义无效,可手动移除该函数(1 改为 0)*/ \
&& (SYSCFG_DEBUGGING == __ENABLED__)
#if (SYSCFG_DEBUG_SENDLEN == __DISABLED__)
__WEAK void debug_hook(char _XDATA_MEM_ *p)