From dc9e3498dfdfaa8c1d11a026e65727c5c5692511 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Thu, 18 Sep 2025 23:00:12 -0600 Subject: 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) --- hw/hank/lume-x1/anduril.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'hw/hank') 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 -- cgit v1.2.3