From d7c7ff8e921456b1f1a27ad16f6d3466157c91c4 Mon Sep 17 00:00:00 2001 From: SiteRelEnby Date: Mon, 6 Nov 2023 14:50:06 -0600 Subject: Add a feature to make RGB voltage configurable Adds two entries to the battery voltage settings menu, the first isathreshold for switching aux to high, and the second sets a minimum level for it to be displayed, also effectively allowing the feature to be entirely disabled if not wanted. --- hw/hank/noctigon-k1/boost/anduril.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/hank/noctigon-k1/boost') diff --git a/hw/hank/noctigon-k1/boost/anduril.h b/hw/hank/noctigon-k1/boost/anduril.h index 4ea1127..01969eb 100644 --- a/hw/hank/noctigon-k1/boost/anduril.h +++ b/hw/hank/noctigon-k1/boost/anduril.h @@ -17,6 +17,7 @@ // this light has three aux LED channels: R, G, B #define USE_AUX_RGB_LEDS #define USE_AUX_RGB_LEDS_WHILE_ON 25 +#define USE_CONFIGURABLE_RGB_VOLTAGE_LEVELS #define USE_INDICATOR_LED_WHILE_RAMPING #if 0 // old, 10-bit PWM method -- cgit v1.2.3