mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2025-10-29 19:43:22 +00:00
better uart debug
This commit is contained in:
parent
5ea4a6c5b9
commit
993a46a19d
@ -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() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user