aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-misc.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-04-13 20:38:25 -0600
committerSelene ToyKeeper2023-04-13 20:38:25 -0600
commit55541be4a505da3df7d1a2b8bf3b5295b0af58f7 (patch)
treefc1e7f22ffe1c51087117b28766ff266895228e3 /spaghetti-monster/fsm-misc.h
parentmerging gchart's changes, part 1... (diff)
downloadanduril-55541be4a505da3df7d1a2b8bf3b5295b0af58f7.tar.gz
anduril-55541be4a505da3df7d1a2b8bf3b5295b0af58f7.tar.bz2
anduril-55541be4a505da3df7d1a2b8bf3b5295b0af58f7.zip
refactor progress checkpoint ... got Sofirn LT1S Pro and Emisar D4v2 working
with the new channel mode system ... but there's a lot more left to do
Diffstat (limited to '')
-rw-r--r--spaghetti-monster/fsm-misc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/spaghetti-monster/fsm-misc.h b/spaghetti-monster/fsm-misc.h
index 66d31ba..17ed66f 100644
--- a/spaghetti-monster/fsm-misc.h
+++ b/spaghetti-monster/fsm-misc.h
@@ -53,6 +53,11 @@ void indicator_led(uint8_t lvl);
void button_led_set(uint8_t lvl);
#endif
+// if any type of aux LEDs exist, define a shorthand flag for it
+#if defined(USE_INDICATOR_LED) || defined(USE_AUX_RGB_LEDS) || defined(USE_BUTTON_LED)
+#define HAS_AUX_LEDS
+#endif
+
#ifdef USE_AUX_RGB_LEDS
// value: 0b00BBGGRR
// each pair of bits: 0=off, 1=low, 2=high