From 3bc5f8bc7a6835ffcc72f7200b1bec713e42bcfd Mon Sep 17 00:00:00 2001 From: Jonas Diemer Date: Sun, 14 Dec 2025 18:46:03 +0100 Subject: [PATCH] quicker pwr button --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index f13e21c..248e061 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,9 +58,9 @@ EpdFontFamily ubuntuFontFamily(&ubuntu10Font, &ubuntuBold10Font); // Power button timing // Time required to confirm boot from sleep -constexpr unsigned long POWER_BUTTON_WAKEUP_MS = 1000; +constexpr unsigned long POWER_BUTTON_WAKEUP_MS = 500; // Time required to enter sleep mode -constexpr unsigned long POWER_BUTTON_SLEEP_MS = 1000; +constexpr unsigned long POWER_BUTTON_SLEEP_MS = 500; std::unique_ptr loadEpub(const std::string& path) { if (!SD.exists(path.c_str())) {