Merge branch 'docs/fix_tasK_create_static_doxygen_comment' into 'master'

Fixed error in return type of xTaskCreateStatic

Closes IDFGH-2185

See merge request espressif/esp-idf!7253
This commit is contained in:
Angus Gratton 2020-01-10 11:41:15 +08:00
commit 4847c2adb0

View file

@ -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.