diff --git a/TODO.md b/TODO.md index 3ca91df2d..45d00b42f 100644 --- a/TODO.md +++ b/TODO.md @@ -53,6 +53,8 @@ until the phone pulls those packets. Ever so often power on bluetooth just so w # Low priority +* if radio params change fundamentally, discard the nodedb +* discard very old nodedb records (> 1wk) * using the genpartitions based table doesn't work on TTGO so for now I stay with my old memory map * We let anyone scan for us (FIXME, perhaps only allow that until we are paired with a phone and configured) * use two different env flags for ttgo vs lora32. https://docs.platformio.org/en/latest/ide/vscode.html#key-bindings diff --git a/src/MeshService.cpp b/src/MeshService.cpp index 7e67fe91c..94e69221e 100644 --- a/src/MeshService.cpp +++ b/src/MeshService.cpp @@ -156,7 +156,7 @@ void MeshService::loop() // FIXME, don't send user this often, but for now it is useful for testing static uint32_t lastsend; uint32_t now = millis(); - if (now - lastsend > 20 * 1000) + if (now - lastsend > 5 * 60 * 1000) { lastsend = now; sendOurOwner();