aboutsummaryrefslogtreecommitdiff
path: root/hwdef-BLF_LT1.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2022-04-14 21:32:08 -0600
committerSelene ToyKeeper2022-04-14 21:32:08 -0600
commit30a503f84b80cef1a46ecbd33bfd4afd16e08e39 (patch)
tree760140f35e4377f9eecc0c740f9e78afe6dbf0b1 /hwdef-BLF_LT1.h
parentsp10-pro: hard reset phase while turning off, fixes shutoff bug without a delay (diff)
downloadanduril-30a503f84b80cef1a46ecbd33bfd4afd16e08e39.tar.gz
anduril-30a503f84b80cef1a46ecbd33bfd4afd16e08e39.tar.bz2
anduril-30a503f84b80cef1a46ecbd33bfd4afd16e08e39.zip
applied new phase-hack flags to other builds where relevant
Diffstat (limited to 'hwdef-BLF_LT1.h')
-rw-r--r--hwdef-BLF_LT1.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hwdef-BLF_LT1.h b/hwdef-BLF_LT1.h
index 16e1c90..4e81c42 100644
--- a/hwdef-BLF_LT1.h
+++ b/hwdef-BLF_LT1.h
@@ -20,6 +20,9 @@
// dynamic PWM with tint ramping (not supported on attiny85)
//#define USE_DYN_PWM // dynamic frequency and speed
//#define PWM1_CNT TCNT0 // for dynamic PWM, reset phase
+//#define PWM1_PHASE_RESET_OFF // force reset while shutting off
+//#define PWM1_PHASE_RESET_ON // force reset while turning on
+//#define PWM1_PHASE_SYNC // manual sync while changing level
// usually PWM1_LVL would be a hardware register, but we need to abstract
// it out to a soft brightness value, in order to handle tint ramping