aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spaghetti-monster/anduril/sunset-timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spaghetti-monster/anduril/sunset-timer.c b/spaghetti-monster/anduril/sunset-timer.c
index eae1831..bad317c 100644
--- a/spaghetti-monster/anduril/sunset-timer.c
+++ b/spaghetti-monster/anduril/sunset-timer.c
@@ -8,7 +8,7 @@
uint8_t sunset_timer_state(Event event, uint16_t arg) {
- #ifdef USE_SIMPLE_UI
+ #if defined(USE_SIMPLE_UI) && !defined(USE_EXTENDED_SIMPLE_UI)
// No timer functions in Simple UI
if (simple_ui_active) return EVENT_NOT_HANDLED;
#endif