diff options
| author | SiteRelEnby | 2024-04-20 14:28:02 -0500 |
|---|---|---|
| committer | SiteRelEnby | 2024-04-20 14:28:02 -0500 |
| commit | cf3d68ce31ca47eab4980e8b07a44345ea44cebc (patch) | |
| tree | 8a83bc31998f8121d9b07994adb8261066959a84 /fsm/chan-aux.c | |
| parent | Add a feature to make RGB voltage configurable (diff) | |
| parent | include hardware-specific readme files in the release .zip (diff) | |
| download | anduril-cf3d68ce31ca47eab4980e8b07a44345ea44cebc.tar.gz anduril-cf3d68ce31ca47eab4980e8b07a44345ea44cebc.tar.bz2 anduril-cf3d68ce31ca47eab4980e8b07a44345ea44cebc.zip | |
Merge branch 'main' into rgb-voltage-configurable
Diffstat (limited to 'fsm/chan-aux.c')
| -rw-r--r-- | fsm/chan-aux.c | 2 |
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 |
