Add some missed preprocessor conditional to softpwm_led
This commit is contained in:
parent
201c28e23b
commit
0bc7a794da
@ -334,9 +334,15 @@ ISR(TIMER1_COMPA_vect)
|
|||||||
static uint8_t counter = 0;
|
static uint8_t counter = 0;
|
||||||
if (++counter >= SOFTPWM_LED_FREQ) {
|
if (++counter >= SOFTPWM_LED_FREQ) {
|
||||||
counter = 0;
|
counter = 0;
|
||||||
|
#ifdef FADING_LED_ENABLE
|
||||||
fading_led_proc();
|
fading_led_proc();
|
||||||
|
#endif
|
||||||
|
#ifdef BREATHING_LED_ENABLE
|
||||||
breathing_led_proc();
|
breathing_led_proc();
|
||||||
|
#endif
|
||||||
|
#if CUSTOM_LED_ENABLE
|
||||||
softpwm_led_custom();
|
softpwm_led_custom();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user