fix(core-system/esp event): Fixed missing error return documentation for esp_event_loop_create_default

ESP_ERR_INVALID_STATE was not listed as a possible return error code.

Closes https://github.com/espressif/esp-idf/issues/11745
This commit is contained in:
Marius Vikhammer 2023-06-27 10:52:23 +08:00
parent 173d0951ee
commit cf838f44cb

View File

@ -63,6 +63,7 @@ esp_err_t esp_event_loop_delete(esp_event_loop_handle_t event_loop);
* @return
* - ESP_OK: Success
* - ESP_ERR_NO_MEM: Cannot allocate memory for event loops list
* - ESP_ERR_INVALID_STATE: Default event loop has already been created
* - ESP_FAIL: Failed to create task loop
* - Others: Fail
*/