From c7dfb435f8ba3594848f130fe3d4eea20946f3b4 Mon Sep 17 00:00:00 2001 From: Krzysztof Bociurko Date: Wed, 31 Oct 2018 19:06:34 +0100 Subject: [PATCH] Fixed error in return type of xTaskCreateStatic* Signed-off-by: Darian Merges https://github.com/espressif/esp-idf/pull/2651 --- components/freertos/include/freertos/task.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/freertos/include/freertos/task.h b/components/freertos/include/freertos/task.h index dd899d1bb4..d7836c664d 100644 --- a/components/freertos/include/freertos/task.h +++ b/components/freertos/include/freertos/task.h @@ -481,9 +481,9 @@ is used in assert() statements. */ * cause the function to fail. * * @return If neither pxStackBuffer or pxTaskBuffer are NULL, then the task will - * be created and pdPASS is returned. If either pxStackBuffer or pxTaskBuffer - * are NULL then the task will not be created and - * errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY is returned. + * be created and a task handle will be returned by which the created task + * can be referenced. If either pxStackBuffer or pxTaskBuffer + * are NULL then the task will not be created and NULL is returned. * * \ingroup Tasks */ @@ -535,9 +535,9 @@ is used in assert() statements. */ * memory to be allocated dynamically. * * @return If neither pxStackBuffer or pxTaskBuffer are NULL, then the task will - * be created and pdPASS is returned. If either pxStackBuffer or pxTaskBuffer - * are NULL then the task will not be created and - * errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY is returned. + * be created and a task handle will be returned by which the created task + * can be referenced. If either pxStackBuffer or pxTaskBuffer + * are NULL then the task will not be created and NULL is returned. * * @note If program uses thread local variables (ones specified with "__thread" keyword) * then storage for them will be allocated on the task's stack.