[][src]Function esp_idf_bindgen::esp_ota_erase_last_boot_app_partition

pub unsafe extern "C" fn esp_ota_erase_last_boot_app_partition() -> esp_err_t

@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.