From 32d7cf4e9ced873938bf532465dbc762facb4f4f Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Wed, 11 Jun 2025 11:35:01 +0200 Subject: [PATCH] fix possible crash --- src/web/WebSettingsService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/WebSettingsService.cpp b/src/web/WebSettingsService.cpp index 30e2432d5..688318728 100644 --- a/src/web/WebSettingsService.cpp +++ b/src/web/WebSettingsService.cpp @@ -116,7 +116,7 @@ StateUpdateResult WebSettings::update(JsonObject root, WebSettings & settings) { String nvs_boot = EMSESP::nvs_.getString("boot"); if (!nvs_boot.isEmpty()) { #if defined(EMSESP_DEBUG) - EMSESP::logger().debug("Overriding board profile with NVS boot value %s"); + EMSESP::logger().debug("Overriding board profile with NVS boot value %s", nvs_boot.c_str()); #endif settings.board_profile = nvs_boot; }