1
0

Change software pwm method to fix blink issue

This commit is contained in:
Kai Ryu 2014-04-18 12:12:59 +09:00
parent f121a98ae3
commit 5cc4c69fae

View File

@ -97,7 +97,7 @@ ISR(TIMER3_COMPA_vect)
step++; step++;
if (step >= BREATHING_LED_LEVELS - breathing_led_config.level) { if (step >= BREATHING_LED_LEVELS - breathing_led_config.level) {
step = 0; step = 0;
index++;
backlight_set_raw(pgm_read_byte(&breathing_table[index])); backlight_set_raw(pgm_read_byte(&breathing_table[index]));
index++;
} }
} }