aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2025-09-18 23:00:12 -0600
committerSelene ToyKeeper2025-09-18 23:00:12 -0600
commitdc9e3498dfdfaa8c1d11a026e65727c5c5692511 (patch)
treebf7df6ff0aa5db98a40d916c4887f6363e385959
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)
-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
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.