Function esp_idf_hal::sys::esp_ota_abort

source ยท
pub unsafe extern "C" fn esp_ota_abort(handle: u32) -> i32
Expand description

@brief Abort OTA update, free the handle and memory associated with it.

@param handle obtained from esp_ota_begin().

@return

  • ESP_OK: Handle and its associated memory is freed successfully.
  • ESP_ERR_NOT_FOUND: OTA handle was not found.