Fixed overlay not unlocking on disable

This commit is contained in:
cschwinne 2018-10-18 18:31:25 +02:00
parent f970780d6c
commit de19839145
2 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,7 @@
//version code in format yymmddb (b = daily build)
#define VERSION 1810181
#define VERSION 1810182
char versionString[] = "0.8.0";

View File

@ -213,6 +213,7 @@ void handleSettingsSet(byte subPage)
if (server.hasArg("OL")){
overlayDefault = server.arg("OL").toInt();
if (overlayCurrent != overlayDefault) strip.unlockAll();
overlayCurrent = overlayDefault;
}