Log packet counters

This commit is contained in:
Will Tatam
2023-10-08 19:35:26 +01:00
parent 3b5c95b5e0
commit f99856e863

View File

@@ -1496,7 +1496,7 @@ class AudioReactive : public Usermod {
static uint8_t lastFrameCounter = 0;
if(receivedPacket->frameCounter <= lastFrameCounter && receivedPacket->frameCounter != 0) { // TODO: might need extra checks here
DEBUGSR_PRINTLN("Skipping audio frame out of order or duplicated");
DEBUGSR_PRINTF("Skipping audio frame out of order or duplicated - %u vs %u\n", lastFrameCounter, receivedPacket->frameCounter);
return;
}
else {