Skip to content

Commit

Permalink
fix(core-system/esp event): Fixed missing error return documentation …
Browse files Browse the repository at this point in the history
…for esp_event_loop_create_default

ESP_ERR_INVALID_STATE was not listed as a possible return error code.

Closes #11745
  • Loading branch information
ESP-Marius committed Jul 11, 2023
1 parent a0f14a8 commit 29b1115
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/esp_event/include/esp_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 29b1115

Please sign in to comment.