only show running partition which is boot on 1st install and then cycle between app0/app1

This commit is contained in:
proddy
2024-09-15 12:34:31 +02:00
parent 9234bfd34c
commit 5cb4f48905
2 changed files with 19 additions and 16 deletions

View File

@@ -1579,12 +1579,10 @@ void EMSESP::start() {
esp8266React.begin();
#ifndef EMSESP_STANDALONE
LOG_INFO("Booting EMS-ESP version %s from %s/%s partition",
EMSESP_APP_VERSION,
esp_ota_get_boot_partition()->label,
LOG_INFO("EMS-ESP version %s (%s partition)", EMSESP_APP_VERSION,
esp_ota_get_running_partition()->label); // welcome message
#else
LOG_INFO("Booting EMS-ESP version %s", EMSESP_APP_VERSION); // welcome message
LOG_INFO("EMS-ESP version %s", EMSESP_APP_VERSION); // welcome message
#endif
LOG_DEBUG("System is running in Debug mode");
LOG_INFO("Last system reset reason Core0: %s, Core1: %s", system_.reset_reason(0).c_str(), system_.reset_reason(1).c_str());