Skip to content

Commit da5dbcd

Browse files
authored
Merge pull request #871 from spacepc-de/fix-debug-log-field
Fix debug log: use c->extra.room.push_failures instead of c->push_failures
2 parents f5f5886 + 6ee0b85 commit da5dbcd

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)