quick fix 2d config hor/ver/panel issues + battery usermod

- Add battery usermod
- set segexp default true
- quick fix 2d config hor/ver/panel issues
This commit is contained in:
Ewoud
2023-01-03 14:45:01 +01:00
parent 9bc6451145
commit 545a4c820c
9 changed files with 1368 additions and 1354 deletions

View File

@@ -651,6 +651,8 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
strip.panel.clear(); // release memory if allocated
if (strip.isMatrix) {
strip.panels = MAX(1,MIN(WLED_MAX_PANELS,request->arg(F("MPC")).toInt()));
strip.panelsH = request->arg(F("MPH")).toInt(); //WLEDM quick fix
strip.panelsV = request->arg(F("MPV")).toInt(); //WLEDM quick fix
strip.matrix.bottomStart = request->arg(F("PB")).toInt();
strip.matrix.rightStart = request->arg(F("PR")).toInt();
strip.matrix.vertical = request->arg(F("PV")).toInt();