rename settings

This commit is contained in:
Arne
2023-08-17 16:53:02 +02:00
parent fe84a9ad8a
commit 220225ce74
2 changed files with 7 additions and 7 deletions

View File

@@ -464,7 +464,7 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
#ifdef WLED_ENABLE_DMX_INPUT
CJSON(dmxInputTransmitPin, if_live_dmx[F("inputRxPin")]);
CJSON(dmxInputReceivePin, if_live_dmx[F("inputTxPin")]);
CJSON(dmxInputEnablePin, if_live_dmx[F("enablePin")]);
CJSON(dmxInputEnablePin, if_live_dmx[F("inputEnablePin")]);
#endif
CJSON(arlsForceMaxBri, if_live[F("maxbri")]);
@@ -947,9 +947,9 @@ void serializeConfig() {
if_live_dmx[F("dss")] = DMXSegmentSpacing;
if_live_dmx["mode"] = DMXMode;
#ifdef WLED_ENABLE_DMX_INPUT
if_live_dmx[F("rxPin")] = dmxInputTransmitPin;
if_live_dmx[F("txPin")] = dmxInputReceivePin;
if_live_dmx[F("enablePin")] = dmxInputEnablePin;
if_live_dmx[F("inputRxPin")] = dmxInputTransmitPin;
if_live_dmx[F("inputTxPin")] = dmxInputReceivePin;
if_live_dmx[F("inputEnablePin")] = dmxInputEnablePin;
#endif
if_live[F("timeout")] = realtimeTimeoutMs / 100;

View File

@@ -176,9 +176,9 @@ Disable realtime gamma correction: <input type="checkbox" name="RG"><br>
Realtime LED offset: <input name="WO" type="number" min="-255" max="255" required>
<div id="dmxInput"> <!--WLEDMM-->
<em>DMX Input Pins</em><br/>
DMX RX: <input name="DMR" type="number" min="-1" max="99"><br/>
DMX TX: <input name="DMT" type="number" min="-1" max="99"><br/>
DMX Enable: <input name="DME" type="number" min="-1" max="99"><br/>
DMX RX: <input name="IDMR" type="number" min="-1" max="99"><br/>
DMX TX: <input name="IDMT" type="number" min="-1" max="99"><br/>
DMX Enable: <input name="IDME" type="number" min="-1" max="99"><br/>
</div>
<div id="dmxInputOff"> <!--WLEDMM-->
<br><em style="color:darkorange">This firmware build does not include DMX Input support. <br></em>