better uart debug

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

View File

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