Skip to content

Commit

Permalink
Log packet counters
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Oct 8, 2023
1 parent 3b5c95b commit f99856e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usermods/audioreactive/audio_reactive.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f99856e

Please sign in to comment.