bug #376 wip - we now minimize comms to gps to save power

This commit is contained in:
Kevin Hester
2020-10-06 06:07:30 +08:00
parent 736642455f
commit f6861a8fe2
5 changed files with 25 additions and 17 deletions

View File

@@ -429,7 +429,7 @@ void loop()
// FIXME - until button press handling is done by interrupt (see polling above) we can't sleep very long at all or buttons
// feel slow
msecstosleep = 200; // FIXME, stop early if something happens
msecstosleep = 10; // FIXME, stop early if something happens and sleep much longer
// TODO: This should go into a thread handled by FreeRTOS.
handleWebResponse();