From d0027e9f6aea99135c4b1add0cea48aabb7716d8 Mon Sep 17 00:00:00 2001 From: geeksville Date: Mon, 3 Feb 2020 20:24:07 -0800 Subject: [PATCH] update nodedb based on rx packets --- src/MeshService.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/MeshService.cpp b/src/MeshService.cpp index d1571605..ca58e5b8 100644 --- a/src/MeshService.cpp +++ b/src/MeshService.cpp @@ -49,8 +49,7 @@ void MeshService::loop() MeshPacket *mp; uint32_t oldFromNum = fromNum; while((mp = fromRadioQueue.dequeuePtr(0)) != NULL) { - // FIXME, process the packet locally to update our node DB, update the LCD screen etc... - Serial.printf("FIXME, skipping local processing of fromRadio\n"); + nodeDB.updateFrom(*mp); fromNum++; assert(toPhoneQueue.enqueue(mp , 0) == pdTRUE); // FIXME, instead of failing for full queue, delete the oldest mssages