Function esp_idf_sys::esp_ota_abort

source ยท
pub unsafe extern "C" fn esp_ota_abort(
    handle: esp_ota_handle_t,
) -> esp_err_t
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.