Skip to content

Commit 4264c2a

Browse files
committed
Test for arcane curses
1 parent 1f4a15e commit 4264c2a

File tree

7 files changed

+19
-10
lines changed

7 files changed

+19
-10
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
## WLED changelog
22

3-
### Development versions after 0.11.1 release
3+
### WLED release 0.12.0
4+
5+
#### Build 2103250
6+
7+
- Version bump to 0.12.0 "Hikari"
8+
- Fixed RGBW mode disabled after LED settings saved
9+
10+
### Development versions between 0.11.1 and 0.12.0 releases
411

512
#### Build 2103230
613

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wled",
3-
"version": "0.12.0-b2",
3+
"version": "0.12.0",
44
"description": "Tools for WLED project",
55
"main": "tools/cdata.js",
66
"directories": {

wled00/html_other.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function B(){window.history.back()}function U(){document.getElementById("uf").st
4242
.bt{background:#333;color:#fff;font-family:Verdana,sans-serif;border:.3ch solid #333;display:inline-block;font-size:20px;margin:8px;margin-top:12px}input[type=file]{font-size:16px}body{font-family:Verdana,sans-serif;text-align:center;background:#222;color:#fff;line-height:200%}#msg{display:none}
4343
</style></head><body><h2>WLED Software Update</h2><form method="POST"
4444
action="/update" id="uf" enctype="multipart/form-data" onsubmit="U()">
45-
Installed version: 0.12.0-b2<br>Download the latest binary: <a
45+
Installed version: 0.12.0<br>Download the latest binary: <a
4646
href="https://github.com/Aircoookie/WLED/releases" target="_blank"><img
4747
src="https://img.shields.io/github/release/Aircoookie/WLED.svg?style=flat-square">
4848
</a><br><input type="file" class="bt" name="update" accept=".bin" required><br>

wled00/html_settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ HTTP traffic is unencrypted. An attacker in the same network can intercept form
375375
<h3>Software Update</h3><button type="button" onclick="U()">Manual OTA Update
376376
</button><br>Enable ArduinoOTA: <input type="checkbox" name="AO"><br><h3>About
377377
</h3><a href="https://github.com/Aircoookie/WLED/" target="_blank">WLED</a>
378-
version 0.12.0-b2<br><br><a
378+
version 0.12.0<br><br><a
379379
href="https://github.com/Aircoookie/WLED/wiki/Contributors-and-credits"
380380
target="_blank">Contributors, dependencies and special thanks</a><br>
381381
A huge thank you to everyone who helped me create WLED!<br><br>

wled00/set.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
8888
uint8_t colorOrder, type;
8989
uint16_t length, start;
9090
uint8_t pins[5] = {255, 255, 255, 255, 255};
91+
useRGBW = false;
9192

9293
for (uint8_t s = 0; s < WLED_MAX_BUSSES; s++) {
9394
char lp[4] = "L0"; lp[2] = 48+s; lp[3] = 0; //ascii 0-9 //strip data pin
@@ -105,17 +106,20 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
105106
pins[i] = (request->arg(lp).length() > 0) ? request->arg(lp).toInt() : 255;
106107
}
107108
type = request->arg(lt).toInt();
109+
//if (BusManager::isRgbw(type)) useRGBW = true; //30fps
108110

109111
if (request->hasArg(lc) && request->arg(lc).toInt() > 0) {
110112
length = request->arg(lc).toInt();
111113
} else {
112114
break; // no parameter
113115
}
116+
114117
colorOrder = request->arg(co).toInt();
115118
start = (request->hasArg(ls)) ? request->arg(ls).toInt() : 0;
116119

117120
if (busConfigs[s] != nullptr) delete busConfigs[s];
118121
busConfigs[s] = new BusConfig(type, pins, start, length, colorOrder, request->hasArg(cv));
122+
//if (BusManager::isRgbw(type)) useRGBW = true; //20fps
119123
doInitBusses = true;
120124
}
121125

@@ -158,7 +162,6 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
158162
strip.ablMilliampsMax = request->arg(F("MA")).toInt();
159163
strip.milliampsPerLed = request->arg(F("LA")).toInt();
160164

161-
useRGBW = request->hasArg(F("EW"));
162165
strip.rgbwMode = request->arg(F("AW")).toInt();
163166

164167
briS = request->arg(F("CA")).toInt();

wled00/wled.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
/*
44
Main sketch, global variable declarations
55
@title WLED project sketch
6-
@version 0.12.0-b2
6+
@version 0.12.0
77
@author Christian Schwinne
88
*/
99

1010
// version code in format yymmddb (b = daily build)
11-
#define VERSION 2103230
11+
#define VERSION 2103250
1212

1313
//uncomment this if you have a "my_config.h" file you'd like to use
1414
//#define WLED_USE_MY_CONFIG
@@ -174,7 +174,7 @@
174174
#endif
175175

176176
// Global Variable definitions
177-
WLED_GLOBAL char versionString[] _INIT("0.12.0-b2");
177+
WLED_GLOBAL char versionString[] _INIT("0.12.0");
178178
#define WLED_CODENAME "Hikari"
179179

180180
// AP and OTA default passwords (for maximum security change them!)

wled00/xml.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,7 @@ void getSettingsJS(byte subPage, char* dest)
318318
}
319319

320320
sappend('v',SET_F("CA"),briS);
321-
//sappend('c',SET_F("EW"),useRGBW);
322-
//sappend('i',SET_F("CO"),strip.getColorOrder());
321+
323322
sappend('v',SET_F("AW"),strip.rgbwMode);
324323

325324
sappend('c',SET_F("BO"),turnOnAtBoot);

0 commit comments

Comments
 (0)