some blinky changes. boot button seems to sometimes not work

sipo
Ondřej Hruška 7 years ago
parent 41499eff9d
commit 39ad4a8d28
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 6
      platform/status_led.c

@ -122,12 +122,12 @@ void Indicator_Tick(void)
}
}
else if (active_effect == STATUS_DISK_BUSY) {
if (effect_time == 600) {
if (effect_time >= 400) {
led_off();
active_effect = STATUS_NONE;
}
else if (effect_time % 200 == 0) led_on();
else if (effect_time % 200 == 100) led_off();
else if (effect_time % 100 == 0) led_on();
else if (effect_time % 100 == 50) led_off();
}
else if (active_effect == STATUS_WELCOME) {
if (effect_time == 0) led_on();

Loading…
Cancel
Save