aboutsummaryrefslogtreecommitdiff
path: root/hwdef-Sofirn_SP10-Pro.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2022-04-14 19:59:55 -0600
committerSelene ToyKeeper2022-04-14 19:59:55 -0600
commit2527602a3680f2e0d4217359e0a142920621f739 (patch)
treeb60de4907679be3108abe0c26450c9dd735203ef /hwdef-Sofirn_SP10-Pro.h
parentrevert spurious change to version.h (diff)
parentCreated LED_DISABLE_DELAY option and enabled it for SP10 Pro to hopefully eli... (diff)
downloadanduril-2527602a3680f2e0d4217359e0a142920621f739.tar.gz
anduril-2527602a3680f2e0d4217359e0a142920621f739.tar.bz2
anduril-2527602a3680f2e0d4217359e0a142920621f739.zip
merged gchart's latest changes:
- sp10-pro shutoff fix - mt35-mini support - power channel enable/disable timing delays (though I wouldn't recommend doing 80ms like the thefreeman code does, since that's more than one WDT cycle (16ms))
Diffstat (limited to 'hwdef-Sofirn_SP10-Pro.h')
-rw-r--r--hwdef-Sofirn_SP10-Pro.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hwdef-Sofirn_SP10-Pro.h b/hwdef-Sofirn_SP10-Pro.h
index bb10f2f..7d0d7f5 100644
--- a/hwdef-Sofirn_SP10-Pro.h
+++ b/hwdef-Sofirn_SP10-Pro.h
@@ -53,9 +53,10 @@ PA1 : Boost Enable
#define LED_ENABLE_PIN PIN1_bp
#define LED_ENABLE_PORT PORTA_OUT
+#define LED_DISABLE_DELAY 4
#define USE_VOLTAGE_DIVIDER // use a dedicated pin, not VCC, because VCC input is flattened
-#define DUAL_VOLTAGE_FLOOR 20 // for AA/14500 boost drivers, don't indicate low voltage if below this level
+#define DUAL_VOLTAGE_FLOOR 21 // for AA/14500 boost drivers, don't indicate low voltage if below this level
#define DUAL_VOLTAGE_LOW_LOW 7 // the lower voltage range's danger zone 0.7 volts (NiMH)
#define ADMUX_VOLTAGE_DIVIDER ADC_MUXPOS_AIN9_gc // which ADC channel to read