diff options
| author | Selene ToyKeeper | 2023-09-17 04:37:25 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-09-17 04:37:25 -0600 |
| commit | d34d0e7acb1f1e49d21af7cf1c9e08161ce95dd4 (patch) | |
| tree | f2bcb36951f2c83064c17ff58aca4c5c59eed112 /spaghetti-monster/fsm-channels.c | |
| parent | fixed bug: smooth steps could sometimes turn off entirely (diff) | |
| download | anduril-d34d0e7acb1f1e49d21af7cf1c9e08161ce95dd4.tar.gz anduril-d34d0e7acb1f1e49d21af7cf1c9e08161ce95dd4.tar.bz2 anduril-d34d0e7acb1f1e49d21af7cf1c9e08161ce95dd4.zip | |
fixed builds which weren't using set_level_zero() yet...
- emisar-d4
- emisar-d4v2
- emisar-d4v2-nofet
- emisar-d4sv2
- emisar-2ch
- emisar-2ch-fet
- noctigon-dm11-boost
- noctigon-k1
- noctigon-kr4
- noctigon-kr4-nofet
- sofirn-lt1s-pro
... and removed old build targets for d4sv2-tintramp, because it was
replaced by emisar-2ch a while ago.
Diffstat (limited to '')
| -rw-r--r-- | spaghetti-monster/fsm-channels.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-channels.c b/spaghetti-monster/fsm-channels.c index 69add93..62b608c 100644 --- a/spaghetti-monster/fsm-channels.c +++ b/spaghetti-monster/fsm-channels.c @@ -7,6 +7,7 @@ #include "fsm-ramping.h" +#if NUM_CHANNEL_MODES > 1 void set_channel_mode(uint8_t mode) { uint8_t cur_level = actual_level; // turn off old LEDs before changing channel @@ -18,6 +19,7 @@ void set_channel_mode(uint8_t mode) { // update the LEDs set_level(cur_level); } +#endif // if NUM_CHANNEL_MODES > 1 #ifdef USE_CALC_2CH_BLEND |
