aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/sunset-timer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/spaghetti-monster/anduril/sunset-timer.c b/spaghetti-monster/anduril/sunset-timer.c
index 55da935..b083515 100644
--- a/spaghetti-monster/anduril/sunset-timer.c
+++ b/spaghetti-monster/anduril/sunset-timer.c
@@ -24,6 +24,11 @@
uint8_t sunset_timer_state(Event event, uint16_t arg) {
+ #ifdef USE_SIMPLE_UI
+ // No timer functions in Simple UI
+ if (simple_ui_active) return EVENT_NOT_HANDLED;
+ #endif
+
// reset on start
if (event == EV_enter_state) {
sunset_timer = 0;