mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
doc: clarify NULL return value of esp_ota_get_last_invalid_partition
Clarified return value of esp_ota_get_last_invalid_partition function.
This commit is contained in:
@@ -362,7 +362,7 @@ esp_err_t esp_ota_mark_app_invalid_rollback_and_reboot(void);
|
||||
/**
|
||||
* @brief Returns last partition with invalid state (ESP_OTA_IMG_INVALID or ESP_OTA_IMG_ABORTED).
|
||||
*
|
||||
* @return partition.
|
||||
* @return Pointer to the last invalid partition, or NULL if no invalid partition is recorded.
|
||||
*/
|
||||
const esp_partition_t* esp_ota_get_last_invalid_partition(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user