Skip to content

Commit 0b0d18f

Browse files
committed
Fix preset variable
1 parent c1b0877 commit 0b0d18f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

wled00/bus_manager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class Bus {
8989
}
9090

9191
virtual uint16_t getLength() {
92-
return 1; // is this ok? shouldn't it be 0 in virtual function?
92+
return 1;
9393
}
9494

9595
virtual void setColorOrder() {}

wled00/data/settings_sync.htm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ <h3>Realtime</h3>
9999
<select name=DI onchange="SP(); adj();">
100100
<option value=5568>E1.31 (sACN)</option>
101101
<option value=6454>Art-Net</option>
102-
<!--option value=4048>DDP</option-->
103102
<option value=0 selected>Custom port</option>
104103
</select><br>
105104
<div id=xp>Port: <input name="EP" type="number" min="1" max="65535" value="5568" class="d5" required><br></div>

wled00/wled.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ WLED_GLOBAL JsonDocument* fileDoc;
564564
WLED_GLOBAL bool doCloseFile _INIT(false);
565565

566566
// presets
567-
WLED_GLOBAL int8_t currentPreset _INIT(-1);
567+
WLED_GLOBAL int16_t currentPreset _INIT(-1);
568568

569569
WLED_GLOBAL byte errorFlag _INIT(0);
570570

0 commit comments

Comments
 (0)