From 4de3955db2099b46ccf1273ba901955799845308 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Tue, 21 Apr 2026 21:38:52 +0200 Subject: [PATCH] set partition after update --- src/core/system.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index b39ce5e15..cc9ab8856 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -425,7 +425,8 @@ void System::get_partition_info() { auto t = time(nullptr); // write timestamp always with new version, if clock is not set, this will be updated with ntp EMSESP::nvs_.putULong(c, t); - } + // make sure OTA setting is updated with core3 format + esp_ota_set_boot_partition(esp_ota_get_running_partition()); } // Loop through all available partitions and update map with the version info pulled from NVS // Partitions can be app0, app1, factory, boot