From 7cb4fe0944b839f28dfd96a88a772cd6a8b58019 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Thu, 2 Nov 2023 17:16:25 -0600 Subject: reorganized project files (part 1) (just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff) --- fsm/chan-aux.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 fsm/chan-aux.c (limited to 'fsm/chan-aux.c') diff --git a/fsm/chan-aux.c b/fsm/chan-aux.c new file mode 100644 index 0000000..e04e6a2 --- /dev/null +++ b/fsm/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 + -- cgit v1.2.3