Update main.cpp

This commit is contained in:
Siwat Sirichai 2024-06-28 21:29:17 -07:00
parent 04a9a49875
commit 23911f60a4
1 changed files with 1 additions and 1 deletions

View File

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