Skip to content

Commit e26299b

Browse files
committed
Revert some small syntactical changes
1 parent 021c4ba commit e26299b

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

wled00/data/settings_sync.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3>WLED Broadcast</h3>
2828
<i>Reboot required to apply changes. </i>
2929
<h3>Instance List</h3>
3030
Enable instance list: <input type="checkbox" name="NL"><br>
31-
Make this instance discoverable: <input type="checkbox" name="NB"><br>
31+
Make this instance discoverable: <input type="checkbox" name="NB">
3232
<h3>Realtime</h3>
3333
Receive UDP realtime: <input type="checkbox" name="RD"><br><br>
3434
<i>Network DMX input</i><br>

wled00/html_settings.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ Send Macro notifications: <input type="checkbox" name="SM"><br>
254254
Send notifications twice: <input type="checkbox" name="S2"><br><i>
255255
Reboot required to apply changes.</i><h3>Instance List</h3>
256256
Enable instance list: <input type="checkbox" name="NL"><br>
257-
Make this instance discoverable: <input type="checkbox" name="NB"><br><h3>
258-
Realtime</h3>Receive UDP realtime: <input type="checkbox" name="RD"><br><br><i>
257+
Make this instance discoverable: <input type="checkbox" name="NB"><h3>Realtime
258+
</h3>Receive UDP realtime: <input type="checkbox" name="RD"><br><br><i>
259259
Network DMX input</i><br>Type: <select name="DI" onchange="SP(),adj()"><option
260260
value="5568">E1.31 (sACN)</option><option value="6454">Art-Net</option><option
261261
value="4048">DDP</option><option value="0" selected="selected">Custom port
@@ -275,8 +275,8 @@ E1.31 info</a><br>Timeout: <input name="ET" type="number" min="1" max="65000"
275275
required> ms<br>Force max brightness: <input type="checkbox" name="FB"><br>
276276
Disable realtime gamma correction: <input type="checkbox" name="RG"><br>
277277
Realtime LED offset: <input name="WO" type="number" min="-255" max="255"
278-
required><h3>Alexa Voice Assistant</h3>Emulate Alexa device: <input
279-
type="checkbox" name="AL"><br>Alexa invocation name: <input name="AI"
278+
required><h3>Alexa Voice Assistant</h3>Emulate Alexa device: <input
279+
type="checkbox" name="AL"><br>Alexa invocation name: <input name="AI"
280280
maxlength="32"><h3>Blynk</h3><b>
281281
Blynk, MQTT and Hue sync all connect to external hosts!<br>
282282
This may impact the responsiveness of the ESP8266.</b><br>

wled00/udp.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,7 @@ void handleNotifications()
161161
for (uint16_t i = 0; i < packetSize -2; i += 3)
162162
{
163163
setRealtimePixel(id, lbuf[i], lbuf[i+1], lbuf[i+2], 0);
164-
id++;
165-
if (id >= ledCount) break;
164+
id++; if (id >= ledCount) break;
166165
}
167166
strip.show();
168167
return;

0 commit comments

Comments
 (0)