From 3b363ca440cfc80414b3cab39f5c70b22d22cd0d Mon Sep 17 00:00:00 2001 From: "jacob.eva" Date: Mon, 21 Oct 2024 19:16:49 +0100 Subject: [PATCH] Change method of polling input so it works in yield() --- opencom_xl_firmware.ino | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/opencom_xl_firmware.ino b/opencom_xl_firmware.ino index 3dae37b..0992e66 100644 --- a/opencom_xl_firmware.ino +++ b/opencom_xl_firmware.ino @@ -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