aboutsummaryrefslogtreecommitdiff
path: root/hwdef-blf-lt1.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-10-26 06:58:23 -0600
committerSelene ToyKeeper2023-10-26 06:58:23 -0600
commit5e86193dce022967cbe41288d30cb4b21500f5e6 (patch)
tree69215ca189e9e33010ae0e3bcf63bb8a7e2b7c27 /hwdef-blf-lt1.h
parentrewrote blf-lantern (blf-lt1) code to use multi-channel and PWM+DSM, (diff)
downloadanduril-5e86193dce022967cbe41288d30cb4b21500f5e6.tar.gz
anduril-5e86193dce022967cbe41288d30cb4b21500f5e6.tar.bz2
anduril-5e86193dce022967cbe41288d30cb4b21500f5e6.zip
improved blf-lt1 ramp and fixed issue with missed button presses
(it seems t85 doesn't like having timer overflow interrupts enabled in standby?)
Diffstat (limited to 'hwdef-blf-lt1.h')
-rw-r--r--hwdef-blf-lt1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdef-blf-lt1.h b/hwdef-blf-lt1.h
index 571fa44..bac21cf 100644
--- a/hwdef-blf-lt1.h
+++ b/hwdef-blf-lt1.h
@@ -94,7 +94,7 @@ inline void hwdef_setup() {
TCCR0A = PHASE;
// enable timer 0 overflow interrupt for DSM purposes
- TIMSK |= (1 << TOIE0);
+ //TIMSK |= (1 << TOIE0); // moved to hwdef.c functions instead
// configure e-switch
PORTB = (1 << SWITCH_PIN); // e-switch is the only input