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");