show in log if we're autodetecting board

This commit is contained in:
proddy
2025-11-23 16:54:56 +01:00
parent d567ea3cf0
commit 2bda432d70

View File

@@ -416,6 +416,7 @@ void WebSettings::set_board_profile(WebSettings & settings) {
// if it's CUSTOM no need to load the board profile from the settings // if it's CUSTOM no need to load the board profile from the settings
// as it's already set // as it's already set
if (settings.board_profile == "CUSTOM") { if (settings.board_profile == "CUSTOM") {
EMSESP::logger().info("Using CUSTOM board profile");
return; return;
} }
@@ -433,9 +434,7 @@ void WebSettings::set_board_profile(WebSettings & settings) {
// we still don't have a valid board profile. Let's see if we can determine one from the build config or hardware // we still don't have a valid board profile. Let's see if we can determine one from the build config or hardware
if (settings.board_profile == "default") { if (settings.board_profile == "default") {
#if defined(EMSESP_DEBUG) EMSESP::logger().info("Autodetecting board profile");
EMSESP::logger().debug("Autodetecting board profile");
#endif
#if CONFIG_IDF_TARGET_ESP32 #if CONFIG_IDF_TARGET_ESP32
// check for no PSRAM, could be a E32 or S32? // check for no PSRAM, could be a E32 or S32?
if (!ESP.getPsramSize()) { if (!ESP.getPsramSize()) {