Set idle timeout to 15s before going to sleep.
This commit is contained in:
parent
e22c0609b5
commit
81a0ad73d9
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue