send user messages every 5 mins

This commit is contained in:
geeksville
2020-02-08 16:18:02 -08:00
parent c3c127d425
commit fb5b4af5be
2 changed files with 3 additions and 1 deletions

View File

@@ -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();