Fixed overlay not unlocking on disable
This commit is contained in:
parent
f970780d6c
commit
de19839145
@ -45,7 +45,7 @@
|
||||
|
||||
|
||||
//version code in format yymmddb (b = daily build)
|
||||
#define VERSION 1810181
|
||||
#define VERSION 1810182
|
||||
char versionString[] = "0.8.0";
|
||||
|
||||
|
||||
|
@ -213,6 +213,7 @@ void handleSettingsSet(byte subPage)
|
||||
|
||||
if (server.hasArg("OL")){
|
||||
overlayDefault = server.arg("OL").toInt();
|
||||
if (overlayCurrent != overlayDefault) strip.unlockAll();
|
||||
overlayCurrent = overlayDefault;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user