Fix Ledmap dropdown in presets

platformio: cosmetic updates
index.js: ledmap: show filename instead of nr
update.htm: remove installed bin prompt
json.cpp: deserializeState: assign loadLedmap from root, serializeState: assign loadLedmap to root / remove from root
presets.cpp: savePreset: assign loadLedmap from sObj
util.cpp: init ledMaps to 0
This commit is contained in:
Ewoud
2022-11-15 11:42:25 +01:00
parent aae50942a2
commit 3b21f02442
13 changed files with 3951 additions and 3944 deletions

View File

@@ -16,7 +16,7 @@
<body onload="GetV()">
<h2>MoonMod WLED Software Update</h2>
<form method='POST' action='/update' id='uf' enctype='multipart/form-data' onsubmit="U()">
Installed bin: <span class="sip">##VERSION##</span><br> <!--WLEDMM: show bin name-->
<span class="sip">##VERSION##</span><br> <!--WLEDMM: show bin name-->
Download the latest binary: <a href="https://github.com/MoonModules/WLED/releases" target="_blank">
<img src="https://img.shields.io/github/release/MoonModules/WLED.svg?style=flat-square"></a><br>
<input type='file' name='update' required><br> <!--should have accept='.bin', but it prevents file upload from android app-->