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
|
||||
led_indicate_boot_error();
|
||||
}
|
||||
Scheduler.startLoop(input_read);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
@ -1464,10 +1465,6 @@ void loop() {
|
||||
if (!console_active && bt_ready) update_bt();
|
||||
#endif
|
||||
|
||||
#if HAS_INPUT
|
||||
input_read();
|
||||
#endif
|
||||
|
||||
#if HAS_BUZZER
|
||||
update_buzzer_notone();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user