Temporary disable WLED_ENABLE_DMX_INPUT in esp32_4MB_V4_S_base

This commit is contained in:
Ewoud
2023-04-08 14:42:14 +02:00
parent ca9bd2270e
commit 876b08e3e4
2 changed files with 7 additions and 1 deletions

View File

@@ -909,7 +909,8 @@ platform = ${esp32.platformV4}
platform_packages = ${esp32.platformV4_packages}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} ${esp32.build_flagsV4} ${common_mm.build_flags_S}
-Wno-misleading-indentation -Wno-format-truncation -D WLED_ENABLE_DMX_INPUT
-Wno-misleading-indentation -Wno-format-truncation
; -D WLED_ENABLE_DMX_INPUT
lib_deps = ${esp32.lib_depsV4} ${common_mm.lib_deps_S}
board_build.partitions = ${esp32.default_partitions}
board_build.f_flash = 80000000L ; use full 80MHz speed for flash (default = 40Mhz)

View File

@@ -1072,7 +1072,9 @@ bool deserializeConfigSec() {
JsonObject ap = doc["ap"];
getStringFromJson(apPass, ap["psk"] , 65);
#if defined(WLED_ENABLE_MQTT) || !defined(WLED_DISABLE_HUESYNC)
JsonObject interfaces = doc["if"];
#endif
#ifdef WLED_ENABLE_MQTT
JsonObject if_mqtt = interfaces["mqtt"];
@@ -1111,7 +1113,10 @@ void serializeConfigSec() {
JsonObject ap = doc.createNestedObject("ap");
ap["psk"] = apPass;
#if defined(WLED_ENABLE_MQTT) || !defined(WLED_DISABLE_HUESYNC)
JsonObject interfaces = doc.createNestedObject("if");
#endif
#ifdef WLED_ENABLE_MQTT
JsonObject if_mqtt = interfaces.createNestedObject("mqtt");
if_mqtt["psk"] = mqttPass;