diff --git a/src/core/console.cpp b/src/core/console.cpp index 9215a0650..d067bc649 100644 --- a/src/core/console.cpp +++ b/src/core/console.cpp @@ -302,7 +302,8 @@ static void setup_commands(std::shared_ptr const & commands) { std::vector data; // led, dallas, rx, tx, button, phy_type, eth_power, eth_phy_addr, eth_clock_mode std::string board_profile = Helpers::toUpper(arguments.front()); if (!EMSESP::system_.load_board_profile(data, board_profile)) { - shell.println("Invalid board profile (S32, E32, E32V2, E32V3, MH-ET, NODEMCU, LOLIN, OLIMEX, OLIMEXPOE, C3MINI, S2MINI, S3MINI, S32S3, CUSTOM)"); + shell.println( + "Invalid board profile (S32, E32, E32V2, E32V3, MH-ET, NODEMCU, LOLIN, OLIMEX, OLIMEXPOE, C3MINI, S2MINI, S3MINI, S32S3, CUSTOM)"); return; } diff --git a/src/core/emsesp.cpp b/src/core/emsesp.cpp index 5553b9301..42806141b 100644 --- a/src/core/emsesp.cpp +++ b/src/core/emsesp.cpp @@ -1708,9 +1708,9 @@ void EMSESP::start() { modbus_->start(1, system_.modbus_port(), system_.modbus_max_clients(), system_.modbus_timeout() * 1000); } - mqtt_.start(); // mqtt init - system_.start(); // starts commands, led, adc, button, network (sets hostname), syslog & uart - shower_.start(); // initialize shower timer and shower alert + mqtt_.start(); // mqtt init + system_.start(); // starts commands, led, adc, button, network (sets hostname), syslog & uart + shower_.start(); // initialize shower timer and shower alert temperaturesensor_.start(factory_settings); // Temperature external sensors analogsensor_.start(factory_settings); // Analog external sensors diff --git a/src/web/WebSettingsService.cpp b/src/web/WebSettingsService.cpp index 849484949..a65e7d49e 100644 --- a/src/web/WebSettingsService.cpp +++ b/src/web/WebSettingsService.cpp @@ -180,7 +180,7 @@ StateUpdateResult WebSettings::update(JsonObject root, WebSettings & settings) { if (ETH.begin(ETH_PHY_LAN8720, 0, 23, 18, 15, ETH_CLOCK_GPIO0_OUT)) { #endif - if (analogReadMilliVolts(39) > 700) { // core voltage > 2.6V + if (analogReadMilliVolts(39) > 700) { // core voltage > 2.6V settings.board_profile = "E32V2_2"; // Ethernet, PSRAM, internal sensors } else { settings.board_profile = "E32V2"; // Ethernet and PSRAM