change value of poweroff button press timer

see PR #42
This commit is contained in:
MX 2022-08-05 18:45:18 +03:00
parent a81f5fc630
commit 29f2358f75
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 5000
#define DESKTOP_MAIN_VIEW_POWEROFF_TIMEOUT 3000
static void desktop_main_poweroff_timer_callback(TimerHandle_t timer) {
DesktopMainView* main_view = pvTimerGetTimerID(timer);