RS485 send: disable RX during tx + drain/clear after (anti-loopback); COM_DEBUG on with RX byte trace

This commit is contained in:
2026-10-09 19:58:51 +08:00
parent 5771fee576
commit 318d4c60f4
3 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
/* >>>>>>>>>>>>>>>>>>>>[COMMAND DEBUG]<<<<<<<<<<<<<<<<<<<< */
#define COM_DEBUG CFG_DISABLE // CFG_DISABLE: Command debug off; CFG_ENABLE: Command debug on
#define COM_DEBUG CFG_ENABLE // CFG_DISABLE: Command debug off; CFG_ENABLE: Command debug on(调试期开启)
/* 命令协议框架已移植(Src/command.c,数据口 RS485),业务命令待定义 */
/* >>>>>>>>>>>>>>>>>>>>[DEBUG ASSERTIONS DEFINE]<<<<<<<<<<<<<<<<<<<< */