From 083b49b5f96111e86ec9cddd270ded83600e611b Mon Sep 17 00:00:00 2001 From: Pablo2048 Date: Sun, 20 Dec 2020 11:14:30 +0100 Subject: [PATCH] Uprava porovnavani --- src/OLEDUIPlus.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OLEDUIPlus.cpp b/src/OLEDUIPlus.cpp index 5e39d46..95d977c 100644 --- a/src/OLEDUIPlus.cpp +++ b/src/OLEDUIPlus.cpp @@ -180,7 +180,8 @@ bool OLEDUIPlus::loop(void) // obsluha puvodniho Ui objektu if (_timing.expired()) { int rtb = update(); - if (0 < rtb) { + + if (rtb > 0) { _timing.set(rtb); } result = true;