update Hook/debug_hook.c.

Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
零中断延迟的RTOS
2025-07-30 13:26:08 +00:00
committed by Gitee
parent 8929ba9cfd
commit e0618255f9
+4 -4
View File
@@ -4,14 +4,14 @@
* @brief DEBUG钩子
* @details 在系统调试任务中被调用,用户可自行实现DEBUG信息的输出。
* @author 迟凯峰
* @version V1.2.1
* @date 2025.06.07
* @version V1.2.2
* @date 2025.07.30
******************************************************************************/
#include "CosyOS.H"
#if SYSCFG_DEBUGGING == __ENABLED__
#if (SYSCFG_DEBUGGING == __ENABLED__)
#if SYSCFG_DEBUG_SENDLEN == __DISABLED__
#if (SYSCFG_DEBUG_SENDLEN == __DISABLED__)
__WEAK void debug_hook(char _XDATA_MEM_ *p)
#else
__WEAK void debug_hook(char _XDATA_MEM_ *p, s_u16_t len)