diff options
| author | Selene ToyKeeper | 2024-03-29 08:21:07 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2024-03-29 08:21:07 -0600 |
| commit | 3cafb86c00a95a70e58144230f641c2c94208e7b (patch) | |
| tree | f0da65c64f98b253c2a611f7c1d672ff60765568 /hw/hank/emisar-d3aa/hwdef.h | |
| parent | weak battery detection: use different thresholds for AA and Li-Ion (diff) | |
| download | anduril-3cafb86c00a95a70e58144230f641c2c94208e7b.tar.gz anduril-3cafb86c00a95a70e58144230f641c2c94208e7b.tar.bz2 anduril-3cafb86c00a95a70e58144230f641c2c94208e7b.zip | |
d3aa weak battery test: blink 3x instead of 2x, and omit number readout
Diffstat (limited to '')
| -rw-r--r-- | hw/hank/emisar-d3aa/hwdef.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/hank/emisar-d3aa/hwdef.h b/hw/hank/emisar-d3aa/hwdef.h index 7fbffbe..c675208 100644 --- a/hw/hank/emisar-d3aa/hwdef.h +++ b/hw/hank/emisar-d3aa/hwdef.h @@ -119,7 +119,8 @@ enum CHANNEL_MODES { // (also helps protect firmware flashing adapters from overload) #define USE_RAMP_LEVEL_HARD_LIMIT #define USE_WEAK_BATTERY_PROTECTION -#define WEAK_BATTERY_TEST_MAX_LEVEL 75 // about 300 mA +// define this next to the ramp table instead +//#define WEAK_BATTERY_TEST_MAX_LEVEL 75 // about 300 mA #define WEAK_BATTERY_SAG_THRESHOLD_AA (3*4) // 0.3 V #define WEAK_BATTERY_SAG_THRESHOLD_LIION (6*4) // 0.6 V |
