mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
fix lint warnings
This commit is contained in:
@@ -102,9 +102,9 @@ void WebSchedulerService::loop() {
|
|||||||
|
|
||||||
time_t now = time(nullptr);
|
time_t now = time(nullptr);
|
||||||
tm * tm = localtime(&now);
|
tm * tm = localtime(&now);
|
||||||
static int last_min = 100; // some high marker
|
static uint32_t last_min = 100; // some high marker
|
||||||
auto uptime_seconds = uuid::get_uptime_sec(); // sync to EMS-ESP clock
|
uint32_t uptime_seconds = uuid::get_uptime_sec(); // sync to EMS-ESP clock
|
||||||
auto uptime_min = uptime_seconds / 60; // 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
|
// check if we're on the minute - taking the EMS-ESP uptime
|
||||||
// with the exception of allowing the first pass (on boot) through
|
// with the exception of allowing the first pass (on boot) through
|
||||||
|
|||||||
Reference in New Issue
Block a user