Function esp_idf_hal::sys::esp_ota_erase_last_boot_app_partition

source ยท
pub unsafe extern "C" fn esp_ota_erase_last_boot_app_partition() -> i32
Expand description

@brief Erase previous boot app partition and corresponding otadata select for this partition.

When current app is marked to as valid then you can erase previous app partition. @return - ESP_OK: Successful, otherwise ESP_ERR.