mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 14:12:05 +00:00
send user messages every 5 mins
This commit is contained in:
parent
c3c127d425
commit
fb5b4af5be
2
TODO.md
2
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
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user