mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 16:38:35 -07:00
Reduced long press to poweroff delay to 2s (more like 3s in reality)
This commit is contained in:
@@ -17,7 +17,7 @@ struct DesktopMainView {
|
|||||||
bool sfw_mode;
|
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) {
|
static void desktop_main_poweroff_timer_callback(TimerHandle_t timer) {
|
||||||
DesktopMainView* main_view = pvTimerGetTimerID(timer);
|
DesktopMainView* main_view = pvTimerGetTimerID(timer);
|
||||||
|
|||||||
Reference in New Issue
Block a user