send network pings when the user does something with their device

This commit is contained in:
geeksville
2020-02-12 14:07:06 -08:00
parent d3ca56f91a
commit e79c49d100
6 changed files with 71 additions and 16 deletions

View File

@@ -442,6 +442,7 @@ void loop()
// esp_pm_dump_locks(stdout); // FIXME, do this someplace better
wasPressed = true;
minPressMs = millis() + 3000;
service.sendNetworkPing();
screen_press();
}
}