aboutsummaryrefslogtreecommitdiff
path: root/hwdef-thefreeman-lin16dac.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-thefreeman-lin16dac.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-thefreeman-lin16dac.h')
-rw-r--r--hwdef-thefreeman-lin16dac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdef-thefreeman-lin16dac.h b/hwdef-thefreeman-lin16dac.h
index 0999c4c..adb7886 100644
--- a/hwdef-thefreeman-lin16dac.h
+++ b/hwdef-thefreeman-lin16dac.h
@@ -47,7 +47,7 @@ Read voltage from VCC pin, has PFET so no drop
// For turning on and off the op-amp
#define LED2_ENABLE_PIN PIN7_bp
#define LED2_ENABLE_PORT PORTA_OUT
-
+#define LED2_ENABLE_DELAY 80 // how many ms to delay turning on the lights after enabling the channel
// average drop across diode on this hardware
#ifndef VOLTAGE_FUDGE_FACTOR