mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
formatting
This commit is contained in:
@@ -1579,7 +1579,10 @@ void EMSESP::start() {
|
|||||||
esp8266React.begin();
|
esp8266React.begin();
|
||||||
|
|
||||||
#ifndef EMSESP_STANDALONE
|
#ifndef EMSESP_STANDALONE
|
||||||
LOG_INFO("Booting EMS-ESP version %s from %s partition", EMSESP_APP_VERSION, esp_ota_get_running_partition()->label); // welcome message
|
LOG_INFO("Booting EMS-ESP version %s from %s/%s partition",
|
||||||
|
EMSESP_APP_VERSION,
|
||||||
|
esp_ota_get_boot_partition()->label,
|
||||||
|
esp_ota_get_running_partition()->label); // welcome message
|
||||||
#else
|
#else
|
||||||
LOG_INFO("Booting EMS-ESP version %s", EMSESP_APP_VERSION); // welcome message
|
LOG_INFO("Booting EMS-ESP version %s", EMSESP_APP_VERSION); // welcome message
|
||||||
#endif
|
#endif
|
||||||
@@ -1597,9 +1600,10 @@ void EMSESP::start() {
|
|||||||
if (!nvs_.begin("ems-esp", false, "nvs1")) { // try bigger nvs partition on 16M flash first
|
if (!nvs_.begin("ems-esp", false, "nvs1")) { // try bigger nvs partition on 16M flash first
|
||||||
nvs_.begin("ems-esp", false, "nvs"); // fallback to small nvs
|
nvs_.begin("ems-esp", false, "nvs"); // fallback to small nvs
|
||||||
}
|
}
|
||||||
LOG_DEBUG("NVS device information: %s", system_.getBBQKeesGatewayDetails().c_str());
|
|
||||||
|
|
||||||
webSettingsService.begin(); // load EMS-ESP Application settings...
|
LOG_DEBUG("NVS device information: %s", system_.getBBQKeesGatewayDetails().isEmpty() ? "not set" : system_.getBBQKeesGatewayDetails().c_str());
|
||||||
|
|
||||||
|
webSettingsService.begin(); // load EMS-ESP Application settings
|
||||||
|
|
||||||
// do any system upgrades
|
// do any system upgrades
|
||||||
if (system_.check_upgrade(factory_settings)) {
|
if (system_.check_upgrade(factory_settings)) {
|
||||||
@@ -1731,7 +1735,7 @@ void EMSESP::start_serial_console() {
|
|||||||
void EMSESP::shell_prompt() {
|
void EMSESP::shell_prompt() {
|
||||||
#ifndef EMSESP_STANDALONE
|
#ifndef EMSESP_STANDALONE
|
||||||
serial_console_.println();
|
serial_console_.println();
|
||||||
serial_console_.println("Press ^C to activate this serial console");
|
serial_console_.println("Press CTRL-C to activate this serial console");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user