Add some missed preprocessor conditional to softpwm_led
This commit is contained in:
parent
13bddedd7f
commit
632c306c29
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user