diff --git a/apps/tree.c b/apps/tree.c index 02899f87ca..2fd91db182 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -434,9 +434,11 @@ static bool ask_resume(bool ask_once) default_event_handler(SYS_USB_CONNECTED); return false; } - + +#ifdef HAVE_ALARM_MOD if ( rtc_check_alarm_started(true) ) return true; +#endif /* always resume? */ if ( global_settings.resume == RESUME_ON)