fir for 8266 build

This commit is contained in:
Frank
2024-10-14 11:34:56 +02:00
parent 68536635d7
commit db983d80ca

View File

@@ -2859,6 +2859,7 @@ class AudioReactive : public Usermod {
JsonObject top = root[FPSTR(_name)]; JsonObject top = root[FPSTR(_name)];
bool configComplete = !top.isNull(); bool configComplete = !top.isNull();
#ifdef ARDUINO_ARCH_ESP32
// remember previous values // remember previous values
auto oldEnabled = enabled; auto oldEnabled = enabled;
auto oldDMType = dmType; auto oldDMType = dmType;
@@ -2866,6 +2867,7 @@ class AudioReactive : public Usermod {
auto oldI2SwsPin = i2swsPin; auto oldI2SwsPin = i2swsPin;
auto oldI2SckPin = i2sckPin; auto oldI2SckPin = i2sckPin;
auto oldI2SmclkPin = mclkPin; auto oldI2SmclkPin = mclkPin;
#endif
configComplete &= getJsonValue(top[FPSTR(_enabled)], enabled); configComplete &= getJsonValue(top[FPSTR(_enabled)], enabled);
#ifdef ARDUINO_ARCH_ESP32 #ifdef ARDUINO_ARCH_ESP32