From 632c306c290c8c5ec9e42d6fb1ed1f1bb112aab7 Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Mon, 18 May 2015 18:31:43 +0900 Subject: [PATCH] Add some missed preprocessor conditional to softpwm_led --- common/softpwm_led.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/softpwm_led.c b/common/softpwm_led.c index 6d15ba97..b077ddd3 100644 --- a/common/softpwm_led.c +++ b/common/softpwm_led.c @@ -334,9 +334,15 @@ ISR(TIMER1_COMPA_vect) static uint8_t counter = 0; if (++counter >= SOFTPWM_LED_FREQ) { counter = 0; +#ifdef FADING_LED_ENABLE fading_led_proc(); +#endif +#ifdef BREATHING_LED_ENABLE breathing_led_proc(); +#endif +#if CUSTOM_LED_ENABLE softpwm_led_custom(); +#endif } #endif }