Преглед на файлове

Merge branch 'bugfix/fix-stacktype-in-doc' into 'master'

docs: Use StackType_t instead of portSTACK_TYPE

See merge request espressif/esp-idf!25046
Zim Kalinowski преди 2 години
родител
ревизия
35cfcdbbf7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      docs/en/api-reference/system/esp_function_with_shared_stack.rst

+ 1 - 1
docs/en/api-reference/system/esp_function_with_shared_stack.rst

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