From 4aec487ea7d03e9554ebbe8f50e72235bf6f2e6e Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sun, 29 Oct 2023 13:19:38 -0600 Subject: applied new delay factor to other DSM builds, and some new DSM_* defines --- hwdef-blf-lt1-t1616.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hwdef-blf-lt1-t1616.h') diff --git a/hwdef-blf-lt1-t1616.h b/hwdef-blf-lt1-t1616.h index a28ee0f..7c1f10b 100644 --- a/hwdef-blf-lt1-t1616.h +++ b/hwdef-blf-lt1-t1616.h @@ -68,6 +68,8 @@ enum channel_modes_e { #define DSM_INTFLAGS TCA0.SINGLE.INTFLAGS #define DSM_OVF_bm TCA_SINGLE_OVF_bm +#define DELAY_FACTOR 90 // less time in delay() because more time spent in interrupts + // warm LEDs uint16_t ch1_dsm_lvl; uint8_t ch1_pwm, ch1_dsm; -- cgit v1.2.3