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:
parent
17b911ff8e
commit
cec6bd2c0b
@ -110,7 +110,7 @@ int main()
|
|||||||
lcd_title(PSTR("Starting up."), PSTR("Please wait."));
|
lcd_title(PSTR("Starting up."), PSTR("Please wait."));
|
||||||
pm_sbc_on();
|
pm_sbc_on();
|
||||||
_delay_ms(10);
|
_delay_ms(10);
|
||||||
while (!get_sbc_state());
|
timer_set(TIMID_POWEROFF, MS_TO_TICKS(TIME_POWEROFF));
|
||||||
|
|
||||||
lcd_title(PSTR("Starting up."), PSTR("Please wait..."));
|
lcd_title(PSTR("Starting up."), PSTR("Please wait..."));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user