mirror of
https://github.com/Fishwaldo/WLED.git
synced 2025-03-15 19:51:40 +00:00
Added Mobile UI power indicator
This commit is contained in:
parent
75a61f85db
commit
f98b0beee5
4 changed files with 55 additions and 29 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -45,7 +45,7 @@
|
|||
|
||||
|
||||
//version code in format yymmddb (b = daily build)
|
||||
#define VERSION 1810041
|
||||
#define VERSION 1810061
|
||||
char versionString[] = "0.8.0";
|
||||
|
||||
|
||||
|
|
|
@ -621,6 +621,7 @@ bool handleSet(String req)
|
|||
//main toggle on/off
|
||||
pos = req.indexOf("&T=");
|
||||
if (pos > 0) {
|
||||
nightlightActive = false; //always disable nightlight when toggling
|
||||
switch (req.substring(pos + 3).toInt())
|
||||
{
|
||||
case 0: if (bri != 0){briLast = bri; bri = 0;} break; //off
|
||||
|
|
Loading…
Add table
Reference in a new issue