Change method of polling input so it works in yield()

This commit is contained in:
jacob.eva 2024-10-21 19:16:49 +01:00
parent 2b2f86374f
commit 3b363ca440
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -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