diff options
| author | Selene ToyKeeper | 2023-05-02 04:47:38 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-05-02 04:47:38 -0600 |
| commit | 8fa7bb422921b625520b22595ce1edfda4beaa22 (patch) | |
| tree | e0ba43972e501b999a1fb1b296b866ba86b81ffe /spaghetti-monster/chan-aux.c | |
| parent | documented a couple recent changes (diff) | |
| download | anduril-8fa7bb422921b625520b22595ce1edfda4beaa22.tar.gz anduril-8fa7bb422921b625520b22595ce1edfda4beaa22.tar.bz2 anduril-8fa7bb422921b625520b22595ce1edfda4beaa22.zip | |
converted Wurkkos TS10 build (and made its ramp smoother w/ better low modes)
Diffstat (limited to 'spaghetti-monster/chan-aux.c')
| -rw-r--r-- | spaghetti-monster/chan-aux.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spaghetti-monster/chan-aux.c b/spaghetti-monster/chan-aux.c new file mode 100644 index 0000000..e04e6a2 --- /dev/null +++ b/spaghetti-monster/chan-aux.c @@ -0,0 +1,11 @@ +// channel modes for single color aux LEDs +// Copyright (C) 2023 Selene ToyKeeper +// SPDX-License-Identifier: GPL-3.0-or-later +#pragma once + +void set_level_aux(uint8_t level) { + indicator_led(!(!(level)) << 1); // high (or off) +} + +bool gradual_tick_null(uint8_t gt) { return true; } // do nothing + |
