diff options
| author | Andrew Slotnick | 2024-02-05 16:37:41 -0500 |
|---|---|---|
| committer | aslotnick | 2024-04-17 22:15:41 -0400 |
| commit | 7b766a7745fbf7debb90667d659f1cb546ec2a0d (patch) | |
| tree | 55ca2038272c54080ed48eb6ec4732a47f74ca70 /fsm/chan-aux.c | |
| parent | avr32dd20-devkit: use unimplemented "CH" pin as a boost bypass control (diff) | |
| download | anduril-7b766a7745fbf7debb90667d659f1cb546ec2a0d.tar.gz anduril-7b766a7745fbf7debb90667d659f1cb546ec2a0d.tar.bz2 anduril-7b766a7745fbf7debb90667d659f1cb546ec2a0d.zip | |
use low aux for chan-aux level 0
Diffstat (limited to '')
| -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 |
