From 582bb915d987ba5d9771103649711df6456c995b Mon Sep 17 00:00:00 2001 From: Jyrki Berg <12322333+jyberg@users.noreply.github.com> Date: Sat, 25 Jul 2020 20:33:45 +0300 Subject: [PATCH] typo corrected --- NexPage.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"; }