aboutsummaryrefslogtreecommitdiff
path: root/hw/hank/emisar-d1v2
diff options
context:
space:
mode:
authorSiteRelEnby2023-11-06 14:50:06 -0600
committerSiteRelEnby2024-04-02 21:34:36 -0500
commitd7c7ff8e921456b1f1a27ad16f6d3466157c91c4 (patch)
tree65c1bf7a48f4f29eb99af94ce687c03ff90cb2c5 /hw/hank/emisar-d1v2
parentuse smooth steps in lockout mode, if enabled (diff)
downloadanduril-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 'hw/hank/emisar-d1v2')
-rw-r--r--hw/hank/emisar-d1v2/7135-fet/anduril.h1
-rw-r--r--hw/hank/emisar-d1v2/linear-fet/anduril.h1
-rw-r--r--hw/hank/emisar-d1v2/nofet/anduril.h1
3 files changed, 3 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
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.