mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
docs: Use StackType_t instead of portSTACK_TYPE
This commit is contained in:
parent
456d288a2e
commit
0e8d2b9550
@ -32,7 +32,7 @@ The usage may look like the code below:
|
||||
void app_main()
|
||||
{
|
||||
//Allocate a stack buffer, from heap or as a static form:
|
||||
portSTACK_TYPE *shared_stack = malloc(8192 * sizeof(portSTACK_TYPE));
|
||||
StackType_t *shared_stack = malloc(8192 * sizeof(StackType_t));
|
||||
assert(shared_stack != NULL);
|
||||
|
||||
//Allocate a mutex to protect its usage:
|
||||
|
Loading…
Reference in New Issue
Block a user