From 81a0ad73d9f3613b78805c0fe6c23252c01ed451 Mon Sep 17 00:00:00 2001 From: JF Date: Sun, 7 Jun 2020 20:05:04 +0200 Subject: Set idle timeout to 15s before going to sleep. diff --git a/src/SystemTask/SystemTask.h b/src/SystemTask/SystemTask.h index b6ecf7c..ab5f701 100644 --- a/src/SystemTask/SystemTask.h +++ b/src/SystemTask/SystemTask.h @@ -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; -- cgit v0.10.2