Added Mobile UI power indicator
This commit is contained in:
parent
75a61f85db
commit
f98b0beee5
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)
|
//version code in format yymmddb (b = daily build)
|
||||||
#define VERSION 1810041
|
#define VERSION 1810061
|
||||||
char versionString[] = "0.8.0";
|
char versionString[] = "0.8.0";
|
||||||
|
|
||||||
|
|
||||||
|
@ -621,6 +621,7 @@ bool handleSet(String req)
|
|||||||
//main toggle on/off
|
//main toggle on/off
|
||||||
pos = req.indexOf("&T=");
|
pos = req.indexOf("&T=");
|
||||||
if (pos > 0) {
|
if (pos > 0) {
|
||||||
|
nightlightActive = false; //always disable nightlight when toggling
|
||||||
switch (req.substring(pos + 3).toInt())
|
switch (req.substring(pos + 3).toInt())
|
||||||
{
|
{
|
||||||
case 0: if (bri != 0){briLast = bri; bri = 0;} break; //off
|
case 0: if (bri != 0){briLast = bri; bri = 0;} break; //off
|
||||||
|
Loading…
Reference in New Issue
Block a user