aboutsummaryrefslogtreecommitdiff
path: root/hw/hank/lume-x1
diff options
context:
space:
mode:
authorSelene ToyKeeper2025-09-18 23:00:12 -0600
committerSelene ToyKeeper2025-09-18 23:00:12 -0600
commitdc9e3498dfdfaa8c1d11a026e65727c5c5692511 (patch)
treebf7df6ff0aa5db98a40d916c4887f6363e385959 /hw/hank/lume-x1
parentChangeLog for new minor release (diff)
downloadanduril-dc9e3498dfdfaa8c1d11a026e65727c5c5692511.tar.gz
anduril-dc9e3498dfdfaa8c1d11a026e65727c5c5692511.tar.bz2
anduril-dc9e3498dfdfaa8c1d11a026e65727c5c5692511.zip
hank-lume-x1: enable RGB button while main LEDs are on
(side effect: also enables RGB front aux while main LEDs are on, since the two are a single circuit internally and can't be separated) (changed at Hank's request)
Diffstat (limited to 'hw/hank/lume-x1')
-rw-r--r--hw/hank/lume-x1/anduril.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/hw/hank/lume-x1/anduril.h b/hw/hank/lume-x1/anduril.h
index c409e43..af56a3e 100644
--- a/hw/hank/lume-x1/anduril.h
+++ b/hw/hank/lume-x1/anduril.h
@@ -81,7 +81,15 @@
#define USE_BUTTON_LED
// this light has three aux LED channels: R, G, B
+// (and some builds tie these also to a RGB side button)
#define USE_AUX_RGB_LEDS
+#define USE_AUX_RGB_LEDS_WHILE_ON 25
+#define USE_INDICATOR_LED_WHILE_RAMPING
+// the aux LEDs are front-facing, so turn them off while main LEDs are on
+//#ifdef USE_INDICATOR_LED_WHILE_RAMPING
+//#undef USE_INDICATOR_LED_WHILE_RAMPING
+//#endif
+
// show each channel while it scroll by in the menu
#define USE_CONFIG_COLORS
@@ -95,11 +103,6 @@
#define POLICE_COLOR_STROBE_CH1 CM_AUXRED
#define POLICE_COLOR_STROBE_CH2 CM_AUXBLU
-// the aux LEDs are front-facing, so turn them off while main LEDs are on
-#ifdef USE_INDICATOR_LED_WHILE_RAMPING
-#undef USE_INDICATOR_LED_WHILE_RAMPING
-#endif
-
#define PARTY_STROBE_ONTIME 1 // slow down party strobe
#define STROBE_OFF_LEVEL 1 // keep the regulator chips on between pulses