Do not reset pins if error but show error (wip, bh1750, fld, global)
Usermod bh1750: only save pins if not equal to global Usermod fld: add errorMessage, do not reset type and enabled but errormessage instead, show global depending in spi or i2c cfg.cpp and set.cpp: do not reset global i2c or spi if error
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
<button type="submit" onclick="window.location='./settings/leds'">LED Preferences</button>
|
||||
<button type="submit" onclick="window.location='./settings/2D'">2D Configuration</button>
|
||||
<div id="configMenu">Loading...</div>
|
||||
<button type="submit" onclick="window.location='./settings/um'">Usermods (pins)</button> <!--WLEDMM: Move below UMs-->>
|
||||
<button type="submit" onclick="window.location='./settings/um'">Usermods (pins)</button> <!--WLEDMM: Move below UMs-->
|
||||
<button type="submit" onclick="window.location='./settings/ui'">User Interface</button>
|
||||
<button id="dmxbtn" style="display: none;" type="submit" onclick="window.location='./settings/dmx'">DMX Output</button>
|
||||
<button type="submit" onclick="window.location='./settings/sync'">Sync Interfaces</button>
|
||||
|
||||
@@ -304,6 +304,7 @@
|
||||
</div>
|
||||
<!-- WLEDMM: no gpios here as it is generated -->
|
||||
<div id="um">Loading settings...</div>
|
||||
<div name="errorMessage"></div>
|
||||
<hr><button type="button" onclick="B()">Back</button><button type="submit">Save</button>
|
||||
</form>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user