Function esp_idf_sys::esp_ota_erase_last_boot_app_partition
source ยท pub unsafe extern "C" fn esp_ota_erase_last_boot_app_partition() -> esp_err_t
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.