Change method of polling input so it works in yield()
This commit is contained in:
parent
2b2f86374f
commit
3b363ca440
@ -1334,6 +1334,7 @@ void validate_status() {
|
|||||||
#endif
|
#endif
|
||||||
led_indicate_boot_error();
|
led_indicate_boot_error();
|
||||||
}
|
}
|
||||||
|
Scheduler.startLoop(input_read);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
@ -1464,10 +1465,6 @@ void loop() {
|
|||||||
if (!console_active && bt_ready) update_bt();
|
if (!console_active && bt_ready) update_bt();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAS_INPUT
|
|
||||||
input_read();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HAS_BUZZER
|
#if HAS_BUZZER
|
||||||
update_buzzer_notone();
|
update_buzzer_notone();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user