终版
This commit is contained in:
@@ -8,9 +8,11 @@
|
||||
#define DEBUG_ENABLE 1 // 暂时关闭,添加Debug.c后改回1
|
||||
|
||||
// 调试串口初始化(使用USART2,PA2/PA3)
|
||||
// 函数作用:初始化调试串口 USART2,供 DEBUG_PRINT 输出日志使用。
|
||||
void Debug_Init(void);
|
||||
|
||||
// 调试信息输出函数
|
||||
// 函数作用:按 printf 格式输出调试日志到调试串口。
|
||||
void Debug_Printf(const char* format, ...);
|
||||
|
||||
// 快捷宏定义
|
||||
|
||||
Reference in New Issue
Block a user