Skip to content

Commit

Permalink
Update correct codes for esp_ota_write
Browse files Browse the repository at this point in the history
Co-authored-by: Harshit Malpani <[email protected]>
  • Loading branch information
lucic71 and hmalpani authored May 10, 2024
1 parent ea407fb commit f47a894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/app_update/include/esp_ota_ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ esp_err_t esp_ota_begin(const esp_partition_t* partition, size_t image_size, esp
* - ESP_ERR_FLASH_OP_TIMEOUT or ESP_ERR_FLASH_OP_FAIL: Flash write failed.
* - ESP_ERR_OTA_SELECT_INFO_INVALID: OTA data partition has invalid contents
* - ESP_ERR_INVALID_SIZE: if write would go out of bounds of the partition
* - ESP_ERR_NOT_ALLOWED: if partition is read-only
* - or one of error codes from lower-level flash driver.
*/
esp_err_t esp_ota_write(esp_ota_handle_t handle, const void* data, size_t size);

Expand Down

0 comments on commit f47a894

Please sign in to comment.