Fixed error in return type of xTaskCreateStatic*

Signed-off-by: Darian <darian@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/2651
This commit is contained in:
Krzysztof Bociurko
2018-10-31 19:06:34 +01:00
committed by Darian Leung
parent 21e24aef1d
commit c7dfb435f8

View File

@@ -481,9 +481,9 @@ is used in assert() statements. */
* cause the function to fail. * cause the function to fail.
* *
* @return If neither pxStackBuffer or pxTaskBuffer are NULL, then the task will * @return If neither pxStackBuffer or pxTaskBuffer are NULL, then the task will
* be created and pdPASS is returned. If either pxStackBuffer or pxTaskBuffer * be created and a task handle will be returned by which the created task
* are NULL then the task will not be created and * can be referenced. If either pxStackBuffer or pxTaskBuffer
* errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY is returned. * are NULL then the task will not be created and NULL is returned.
* *
* \ingroup Tasks * \ingroup Tasks
*/ */
@@ -535,9 +535,9 @@ is used in assert() statements. */
* memory to be allocated dynamically. * memory to be allocated dynamically.
* *
* @return If neither pxStackBuffer or pxTaskBuffer are NULL, then the task will * @return If neither pxStackBuffer or pxTaskBuffer are NULL, then the task will
* be created and pdPASS is returned. If either pxStackBuffer or pxTaskBuffer * be created and a task handle will be returned by which the created task
* are NULL then the task will not be created and * can be referenced. If either pxStackBuffer or pxTaskBuffer
* errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY is returned. * 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) * @note If program uses thread local variables (ones specified with "__thread" keyword)
* then storage for them will be allocated on the task's stack. * then storage for them will be allocated on the task's stack.