From 2bb7fe62d11a8555aa422d2ce74f3d658280af62 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sun, 26 Jul 2020 23:35:29 +0200 Subject: [PATCH] typo --- sketch/application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sketch/application.cpp b/sketch/application.cpp index f16d839..dd59e3a 100644 --- a/sketch/application.cpp +++ b/sketch/application.cpp @@ -67,7 +67,7 @@ void loopApplication() { } static uint32_t lastMillis = 0; - if (currentMillis > (lastMillis + (configBlock.period * 1000))) { + if (currentMillis > (lastMillis + (configBlock.valuesPeriod * 1000))) { lastMillis = currentMillis; // rain sensor