Update main.cpp
This commit is contained in:
parent
04a9a49875
commit
23911f60a4
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue