From 7f44d21c01c880acebfcaf0b94aed2175661acc9 Mon Sep 17 00:00:00 2001 From: Mitch Bradley Date: Fri, 25 Jun 2021 19:03:12 -1000 Subject: [PATCH] Eliminated spurious I2SO WS message --- Grbl_Esp32/src/Machine/MachineConfig.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Grbl_Esp32/src/Machine/MachineConfig.cpp b/Grbl_Esp32/src/Machine/MachineConfig.cpp index 65c1c71f..52ba7afa 100644 --- a/Grbl_Esp32/src/Machine/MachineConfig.cpp +++ b/Grbl_Esp32/src/Machine/MachineConfig.cpp @@ -110,9 +110,8 @@ namespace Machine { _spi = new SPIBus(); } - if (_i2so == nullptr) { - _i2so = new I2SOBus(); - } + // We do not auto-create an I2SO bus config node + // Only if an i2so section is present will config->_i2so be non-null if (_control == nullptr) { log_info("Control config missing; building default");