diff options
| author | SiteRelEnby | 2023-11-06 14:50:06 -0600 |
|---|---|---|
| committer | SiteRelEnby | 2024-04-02 21:34:36 -0500 |
| commit | d7c7ff8e921456b1f1a27ad16f6d3466157c91c4 (patch) | |
| tree | 65c1bf7a48f4f29eb99af94ce687c03ff90cb2c5 /hw | |
| parent | use smooth steps in lockout mode, if enabled (diff) | |
| download | anduril-d7c7ff8e921456b1f1a27ad16f6d3466157c91c4.tar.gz anduril-d7c7ff8e921456b1f1a27ad16f6d3466157c91c4.tar.bz2 anduril-d7c7ff8e921456b1f1a27ad16f6d3466157c91c4.zip | |
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.
Diffstat (limited to '')
| -rw-r--r-- | hw/hank/emisar-d1v2/7135-fet/anduril.h | 1 | ||||
| -rw-r--r-- | hw/hank/emisar-d1v2/linear-fet/anduril.h | 1 | ||||
| -rw-r--r-- | hw/hank/emisar-d1v2/nofet/anduril.h | 1 | ||||
| -rw-r--r-- | hw/hank/emisar-d4k-3ch/anduril.h | 1 | ||||
| -rw-r--r-- | hw/hank/noctigon-k1/anduril.h | 1 | ||||
| -rw-r--r-- | hw/hank/noctigon-k1/boost/anduril.h | 1 | ||||
| -rw-r--r-- | hw/hank/noctigon-k1/sbt90/anduril.h | 1 | ||||
| -rw-r--r-- | hw/wurkkos/fc13/anduril.h | 1 | ||||
| -rw-r--r-- | hw/wurkkos/ts11/anduril.h | 1 |
9 files changed, 9 insertions, 0 deletions
diff --git a/hw/hank/emisar-d1v2/7135-fet/anduril.h b/hw/hank/emisar-d1v2/7135-fet/anduril.h index 968162a..8682585 100644 --- a/hw/hank/emisar-d1v2/7135-fet/anduril.h +++ b/hw/hank/emisar-d1v2/7135-fet/anduril.h @@ -15,6 +15,7 @@ // so it's unlikely that anyone needs this, but it doesn't hurt anything) #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 // safe limit ~50% power diff --git a/hw/hank/emisar-d1v2/linear-fet/anduril.h b/hw/hank/emisar-d1v2/linear-fet/anduril.h index 1d09001..a15fa5e 100644 --- a/hw/hank/emisar-d1v2/linear-fet/anduril.h +++ b/hw/hank/emisar-d1v2/linear-fet/anduril.h @@ -13,6 +13,7 @@ // the aux LEDs are in the button, so use them while main LEDs are on #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 // safe limit: max regulated power diff --git a/hw/hank/emisar-d1v2/nofet/anduril.h b/hw/hank/emisar-d1v2/nofet/anduril.h index 1c320e7..7900d98 100644 --- a/hw/hank/emisar-d1v2/nofet/anduril.h +++ b/hw/hank/emisar-d1v2/nofet/anduril.h @@ -13,6 +13,7 @@ // the aux LEDs are in the button, so use them while main LEDs are on #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 // safe limit: same as regular ramp diff --git a/hw/hank/emisar-d4k-3ch/anduril.h b/hw/hank/emisar-d4k-3ch/anduril.h index 722fa89..ede62b3 100644 --- a/hw/hank/emisar-d4k-3ch/anduril.h +++ b/hw/hank/emisar-d4k-3ch/anduril.h @@ -12,6 +12,7 @@ // turn on the aux LEDs while main LEDs are on // (in case there's a RGB button) #define USE_AUX_RGB_LEDS_WHILE_ON 40 +#define USE_CONFIGURABLE_RGB_VOLTAGE_LEVELS #define USE_INDICATOR_LED_WHILE_RAMPING // channel modes... diff --git a/hw/hank/noctigon-k1/anduril.h b/hw/hank/noctigon-k1/anduril.h index 06a9b69..48dc947 100644 --- a/hw/hank/noctigon-k1/anduril.h +++ b/hw/hank/noctigon-k1/anduril.h @@ -14,6 +14,7 @@ // this light has three aux LED channels: R, G, B #define USE_AUX_RGB_LEDS #define USE_AUX_RGB_LEDS_WHILE_ON 5 +#define USE_CONFIGURABLE_RGB_VOLTAGE_LEVELS #define USE_INDICATOR_LED_WHILE_RAMPING 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 diff --git a/hw/hank/noctigon-k1/sbt90/anduril.h b/hw/hank/noctigon-k1/sbt90/anduril.h index 6943a0a..ef9e067 100644 --- a/hw/hank/noctigon-k1/sbt90/anduril.h +++ b/hw/hank/noctigon-k1/sbt90/anduril.h @@ -14,6 +14,7 @@ // this light has three aux LED channels: R, G, B #define USE_AUX_RGB_LEDS #define USE_AUX_RGB_LEDS_WHILE_ON 10 +#define USE_CONFIGURABLE_RGB_VOLTAGE_LEVELS #define USE_INDICATOR_LED_WHILE_RAMPING diff --git a/hw/wurkkos/fc13/anduril.h b/hw/wurkkos/fc13/anduril.h index db766c7..dd23d4a 100644 --- a/hw/wurkkos/fc13/anduril.h +++ b/hw/wurkkos/fc13/anduril.h @@ -10,5 +10,6 @@ // turn on the aux LEDs while main LEDs are on #define USE_AUX_RGB_LEDS_WHILE_ON 20 +#define USE_CONFIGURABLE_RGB_VOLTAGE_LEVELS #define USE_INDICATOR_LED_WHILE_RAMPING diff --git a/hw/wurkkos/ts11/anduril.h b/hw/wurkkos/ts11/anduril.h index 169c848..e329c38 100644 --- a/hw/wurkkos/ts11/anduril.h +++ b/hw/wurkkos/ts11/anduril.h @@ -12,5 +12,6 @@ // (but not until the main LEDs are bright enough to overpower the aux) // (setting this lower makes an annoying effect on some levels) #define USE_AUX_RGB_LEDS_WHILE_ON 50 +#define USE_CONFIGURABLE_RGB_VOLTAGE_LEVELS #define USE_INDICATOR_LED_WHILE_RAMPING |
