diff --git a/NexPage.cpp b/NexPage.cpp index 9244826b..f48a5ffe 100644 --- a/NexPage.cpp +++ b/NexPage.cpp @@ -40,10 +40,11 @@ bool NexPage::setVisibleAll(bool visible) { String cmd = String("vis "); cmd += "255,"; - if (flag) + if (visible) { cmd += "1"; - } else + } + else { cmd += "0"; }