From 1f461466ac3f15daaa6ef739a36d09b92286d1ce Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Thu, 30 Mar 2023 12:47:10 +0100 Subject: [PATCH] Update varaibles when posting new settings --- wled00/set.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wled00/set.cpp b/wled00/set.cpp index e07610ae..690add3a 100644 --- a/wled00/set.cpp +++ b/wled00/set.cpp @@ -312,6 +312,12 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage) t = request->arg(F("WO")).toInt(); if (t >= -255 && t <= 255) arlsOffset = t; +#ifdef WLED_ENABLE_DMX_INPUT + dmxTransmitPin = request->hasArg(F("DMR")); + dmxReceivePin = request->hasArg(F("DMT")); + dmxEnablePin= request->hasArg(F("DME")); +#endif + alexaEnabled = request->hasArg(F("AL")); strlcpy(alexaInvocationName, request->arg(F("AI")).c_str(), 33); t = request->arg(F("AP")).toInt();