From 9ed32307d3c003560ab681daeb49595056c205cd Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 27 Feb 2023 10:51:41 +0100 Subject: [PATCH] fix lint warnings --- src/web/WebSchedulerService.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/web/WebSchedulerService.cpp b/src/web/WebSchedulerService.cpp index 52df936e2..2b0ab7007 100644 --- a/src/web/WebSchedulerService.cpp +++ b/src/web/WebSchedulerService.cpp @@ -100,11 +100,11 @@ void WebSchedulerService::loop() { return; } - time_t now = time(nullptr); - tm * tm = localtime(&now); - static int last_min = 100; // some high marker - auto uptime_seconds = uuid::get_uptime_sec(); // sync to EMS-ESP clock - auto uptime_min = uptime_seconds / 60; // sync to EMS-ESP clock + time_t now = time(nullptr); + tm * tm = localtime(&now); + static uint32_t last_min = 100; // some high marker + uint32_t uptime_seconds = uuid::get_uptime_sec(); // sync to EMS-ESP clock + uint32_t uptime_min = uptime_seconds / 60; // sync to EMS-ESP clock // check if we're on the minute - taking the EMS-ESP uptime // with the exception of allowing the first pass (on boot) through