From 49f6ca0994a16198b9d6104af8011b42429012a1 Mon Sep 17 00:00:00 2001 From: reaw55 <58457329+reaw55@users.noreply.github.com> Date: Mon, 17 Jun 2024 21:55:16 +0700 Subject: [PATCH] add input loop --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 4e3763f..d07528a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -195,6 +195,11 @@ void setup() espmega.iot->registerCard(10); #endif +// Input callbacks +// pre-load the input buffers + ESP_LOGV("ISE IoT OS", "Pre-loading input buffers"); + espmega.inputs.loop(); + // ------------ Climate Cards Initialization Routine ------------ ESP_LOGD("ISE OS", "Setting up climate cards");