COM: Added COM_EnqueueDebug

This commit is contained in:
Martin Preuss
2023-01-28 15:29:33 +01:00
parent 65afe4c790
commit 02b09e9ff7
2 changed files with 57 additions and 0 deletions

View File

@@ -140,6 +140,9 @@ void _packetReceived(AQH_SERIAL *sr, const uint8_t *ptr, uint8_t len)
availability=ptr[5];
fprintf(stdout, "-> I2C DEVICE %02x: %s\n", i2cAddr, (availability==0)?"not available":"FOUND");
}
else if (ptr[5]==1) {
fprintf(stdout, "-> Debug\n");
}
}