Skip to content

Commit f1a1be1

Browse files
Jonathan Stöcklmayermtlynch
authored andcommitted
Fix debug log: use c->extra.room.push_failures instead of non-existent c->push_failures
1 parent 2ee3db0 commit f1a1be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/simple_room_server/MyMesh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ void MyMesh::loop() {
789789
if (c->extra.room.pending_ack && millisHasNowPassed(c->extra.room.ack_timeout)) {
790790
c->extra.room.push_failures++;
791791
c->extra.room.pending_ack = 0; // reset (TODO: keep prev expected_ack's in a list, incase they arrive LATER, after we retry)
792-
MESH_DEBUG_PRINTLN("pending ACK timed out: push_failures: %d", (uint32_t)c->push_failures);
792+
MESH_DEBUG_PRINTLN("pending ACK timed out: push_failures: %d", (uint32_t)c->extra.room.push_failures);
793793
}
794794
}
795795
// check next Round-Robin client, and sync next new post

0 commit comments

Comments
 (0)