Skip to content

Commit 6ee0b85

Browse files
author
Jonathan Stöcklmayer
committed
Fix debug log: use c->extra.room.push_failures instead of non-existent c->push_failures
1 parent 3dc04de commit 6ee0b85

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
@@ -784,7 +784,7 @@ void MyMesh::loop() {
784784
if (c->extra.room.pending_ack && millisHasNowPassed(c->extra.room.ack_timeout)) {
785785
c->extra.room.push_failures++;
786786
c->extra.room.pending_ack = 0; // reset (TODO: keep prev expected_ack's in a list, incase they arrive LATER, after we retry)
787-
MESH_DEBUG_PRINTLN("pending ACK timed out: push_failures: %d", (uint32_t)c->push_failures);
787+
MESH_DEBUG_PRINTLN("pending ACK timed out: push_failures: %d", (uint32_t)c->extra.room.push_failures);
788788
}
789789
}
790790
// check next Round-Robin client, and sync next new post

0 commit comments

Comments
 (0)