瀏覽代碼

build fix for room server with MESH_DEBUG=1

taco 6 月之前
父節點
當前提交
9dd52bd0cc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/simple_room_server/MyMesh.cpp

+ 1 - 1
examples/simple_room_server/MyMesh.cpp

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