better uart debug

This commit is contained in:
Tester23 2025-10-10 19:26:49 +02:00
parent 5ea4a6c5b9
commit 993a46a19d

View File

@ -293,8 +293,10 @@ void UART_DebugTool_Run(int auartindex) {
UART_ConsumeBytesEx(auartindex,1); UART_ConsumeBytesEx(auartindex,1);
} }
*p = 0; *p = 0;
addLogAdv(LOG_INFO, LOG_FEATURE_CMD, "UART %i received %i bytes: %s\n", if (bytes) {
auartindex, bytes, tmp); addLogAdv(LOG_INFO, LOG_FEATURE_CMD, "UART %i received %i bytes: %s\n",
auartindex, bytes, tmp);
}
} }
void UART_RunEverySecond() { void UART_RunEverySecond() {