aboutsummaryrefslogtreecommitdiff
path: root/fsm/chan-aux.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fsm/chan-aux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsm/chan-aux.c b/fsm/chan-aux.c
index e04e6a2..239316a 100644
--- a/fsm/chan-aux.c
+++ b/fsm/chan-aux.c
@@ -4,7 +4,7 @@
#pragma once
void set_level_aux(uint8_t level) {
- indicator_led(!(!(level)) << 1); // high (or off)
+ indicator_led((!(!(level)) << 1) + 1); // high (level > 0) or low
}
bool gradual_tick_null(uint8_t gt) { return true; } // do nothing