From cf838f44cb575e0013167ee14226e315cc66e170 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Tue, 27 Jun 2023 10:52:23 +0800 Subject: [PATCH] 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 --- components/esp_event/include/esp_event.h | 1 + 1 file changed, 1 insertion(+) diff --git a/components/esp_event/include/esp_event.h b/components/esp_event/include/esp_event.h index fcf61dc09f..6bed74d195 100644 --- a/components/esp_event/include/esp_event.h +++ b/components/esp_event/include/esp_event.h @@ -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 */