summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 4ccd702..f8459ee 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -436,8 +436,10 @@ static bool ask_resume(bool ask_once)
}
#ifdef HAVE_ALARM_MOD
- if ( rtc_check_alarm_started(true) )
+ if ( rtc_check_alarm_started(true) ) {
+ rtc_enable_alarm(false);
return true;
+ }
#endif
/* always resume? */