1
0
mirror of https://github.com/whowechina/aic_pico.git synced 2025-02-16 10:42:36 +01:00

More valid debug info

This commit is contained in:
whowechina 2024-04-30 10:58:45 +08:00
parent ab4fdc2f1d
commit 630d0fdfcf

View File

@ -199,7 +199,7 @@ static void aime_poll_data()
if (count > 0) { if (count > 0) {
uint32_t now = time_us_32(); uint32_t now = time_us_32();
DEBUG("\n\033[32m%6ld>>", now / 1000); DEBUG("\n\033[32m%6ld>>", now / 1000);
for (int i = 6; i < count; i++) { for (int i = 0; i < count; i++) {
DEBUG(" %02X", aime.buf[aime.pos + i]); DEBUG(" %02X", aime.buf[aime.pos + i]);
} }
DEBUG("\033[0m"); DEBUG("\033[0m");