Skip to content

Commit 2aa05cb

Browse files
committed
Default HUB75 color order to RGB
1 parent 44d666c commit 2aa05cb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

wled00/data/settings_leds.htm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@
220220
if (change) {
221221
gId("rf"+n).checked = (gId("rf"+n).checked || t == 31); // LEDs require data in off state
222222
if (t > 31 && t < 48) d.getElementsByName("LC"+n)[0].value = 1; // for sanity change analog count just to 1 LED
223+
if (t >= 100 && t < 110) d.getElementsByName("CO"+n)[0].value = 1; // default to RGB color order for HUB75
223224
}
224225
gId("rf"+n).onclick = (t == 31) ? (()=>{return false}) : (()=>{}); // prevent change for TM1814
225226
gRGBW |= isRGBW = ((t > 17 && t < 22) || (t > 28 && t < 32) || (t > 40 && t < 46 && t != 43) || t == 88); // RGBW checkbox, TYPE_xxxx values from const.h

0 commit comments

Comments
 (0)