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