From c55df4eb6e2ccc53875b056bdd628fa628921b42 Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 4 May 2026 20:57:20 +0200 Subject: [PATCH] fix standalone build lint warning --- src/web/WebStatusService.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/web/WebStatusService.cpp b/src/web/WebStatusService.cpp index ae1d21eb8..69dc2ca25 100644 --- a/src/web/WebStatusService.cpp +++ b/src/web/WebStatusService.cpp @@ -372,13 +372,11 @@ void WebStatusService::getVersions(JsonObject root) { // schedule the next versions.json fetch a few seconds out so the network stack has time to settle // (DHCP completion, default-netif assignment and DNS server propagation through lwip) void WebStatusService::schedule_versions_refresh() { -#ifndef EMSESP_STANDALONE uint32_t next = uuid::get_uptime() + VERSIONS_INITIAL_FETCH_DELAY_MS; if (next == 0) { next = 1; // 0 is the "idle" sentinel — never let the wrap land there } versions_next_fetch_ms_ = next; -#endif } // periodic refresh (1 hour) of the cached versions.json