des: Do not wait for SBC at boot

Waiting here may cause the controller to "freeze" in an
active state, draining the battery.
This commit is contained in:
Markus Koch 2020-07-31 20:49:40 +02:00
parent 17b911ff8e
commit cec6bd2c0b

View File

@ -110,7 +110,7 @@ int main()
lcd_title(PSTR("Starting up."), PSTR("Please wait."));
pm_sbc_on();
_delay_ms(10);
while (!get_sbc_state());
timer_set(TIMID_POWEROFF, MS_TO_TICKS(TIME_POWEROFF));
lcd_title(PSTR("Starting up."), PSTR("Please wait..."));