From 45675eae3e2c69a0ee4d6ffe864888d7c9e22da0 Mon Sep 17 00:00:00 2001 From: tablatronix <807787+tablatronix@users.noreply.github.com> Date: Fri, 16 Feb 2024 22:02:42 -0600 Subject: [PATCH] add debug level to version str --- WiFiManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WiFiManager.cpp b/WiFiManager.cpp index 41c73bfd..d7ae6520 100644 --- a/WiFiManager.cpp +++ b/WiFiManager.cpp @@ -3432,7 +3432,7 @@ void WiFiManager::debugPlatformInfo(){ #endif #elif defined(ESP32) #ifdef WM_DEBUG_LEVEL - DEBUG_WM(F("[SYS] WM version: "), WM_VERSION_STR); + DEBUG_WM(F("[SYS] WM version: "), String((__FlashStringHelper *)WM_VERSION_STR) +" D:"+String(_debugLevel)); DEBUG_WM(F("[SYS] Arduino version: "), VER_ARDUINO_STR); DEBUG_WM(F("[SYS] ESP SDK version: "), ESP.getSdkVersion()); DEBUG_WM(F("[SYS] Free heap: "), ESP.getFreeHeap());