Set idle timeout to 15s before going to sleep.

This commit is contained in:
JF 2020-06-07 20:05:04 +02:00
parent e22c0609b5
commit 81a0ad73d9

View File

@ -67,7 +67,7 @@ namespace Pinetime {
void Work();
bool isBleDiscoveryTimerRunning = false;
uint8_t bleDiscoveryTimer = 0;
static constexpr uint32_t idleTime = 5000;
static constexpr uint32_t idleTime = 15000;
TimerHandle_t idleTimer;
bool doNotGoToSleep = false;