set poweroff button timer to 2sec

This commit is contained in:
MX 2022-09-06 00:32:12 +03:00
parent 107d574c02
commit bb05ccacb1
No known key found for this signature in database
GPG Key ID: 6C4C311DFD4B4AB5

View File

@ -16,7 +16,7 @@ struct DesktopMainView {
TimerHandle_t poweroff_timer;
};
#define DESKTOP_MAIN_VIEW_POWEROFF_TIMEOUT 3000
#define DESKTOP_MAIN_VIEW_POWEROFF_TIMEOUT 2000
static void desktop_main_poweroff_timer_callback(TimerHandle_t timer) {
DesktopMainView* main_view = pvTimerGetTimerID(timer);