From 026c2caea0880010cb0baec49df67e2af5908aef Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 24 Nov 2025 23:17:27 +0100 Subject: [PATCH] fix when manually setting board type --- src/core/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 472243dae..1ecb7dcd3 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -1903,7 +1903,7 @@ bool System::command_test(const char * value, const int8_t id) { // 0=led, 1=dallas, 2=rx, 3=tx, 4=button, 5=phy_type, 6=eth_power, 7=eth_phy_addr, 8=eth_clock_mode, 9=led_type // bool System::load_board_profile(std::vector & data, const std::string & board_profile) { - if (board_profile == EMSESP_DEFAULT_BOARD_PROFILE) { + if (board_profile == "default") { return false; // unknown, return false } else if (board_profile == "S32") { data = {2, 18, 23, 5, 0, PHY_type::PHY_TYPE_NONE, 0, 0, 0, 0}; // BBQKees Gateway S32