更改宏定义的开启方式

This commit is contained in:
2026-07-28 00:44:28 +08:00
parent 5e0c68d1c9
commit a48e6b8ba6
7 changed files with 62 additions and 72 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ void USART0_IRQHandler(void) {
g_usart_config.irq_handler(); // 通过函数指针调用对应的处理函数
}
// 作为调试口(第二串口)时也接收数据,便于模拟上位机命令
#ifdef DEBUG_MODE
#if DEBUG_MODE == ENABLE
else {
usart0_irq_handler();
}