From 23911f60a4760631b3a3f62800a6cb97d5986088 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Fri, 28 Jun 2024 21:29:17 -0700 Subject: [PATCH] Update main.cpp --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 25a22bb..3254714 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -107,7 +107,7 @@ void setup() // This pre-load the input buffers // We need to do this to prevent switches that are left on the "on" position from triggering the callback ESP_LOGV("CUD IoT OS", "Pre-loading input buffers"); - espmega.inputs.preloadInputBuffers(); + espmega.inputs.preloadInputBuffer(); espmega.inputs.registerCallback(handle_input_change); // Start the display routine ESP_LOGV("CUD IoT OS", "Starting CUDDisplay");