From 9b7d17d89ce789d3240fb45badb2951fc966a118 Mon Sep 17 00:00:00 2001 From: Nameless Date: Fri, 30 Dec 2022 01:10:24 +0000 Subject: [PATCH] Reduced long press to poweroff delay to 2s (more like 3s in reality) --- applications/services/desktop/views/desktop_view_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/services/desktop/views/desktop_view_main.c b/applications/services/desktop/views/desktop_view_main.c index 10e897bd7..7881bc36d 100644 --- a/applications/services/desktop/views/desktop_view_main.c +++ b/applications/services/desktop/views/desktop_view_main.c @@ -17,7 +17,7 @@ struct DesktopMainView { bool sfw_mode; }; -#define DESKTOP_MAIN_VIEW_POWEROFF_TIMEOUT 5000 +#define DESKTOP_MAIN_VIEW_POWEROFF_TIMEOUT 2000 static void desktop_main_poweroff_timer_callback(TimerHandle_t timer) { DesktopMainView* main_view = pvTimerGetTimerID(timer);