mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-19 07:55:54 +00:00
refactor(freertos): Refactor usage of portSTACK_TYPE to StackType_t
portSTACK_TYPE is an internal macro defined by the porting layer. This commit changes all references to StackType_t which is the official type exposed by FreeRTOS.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
* pthread has a minimal stack size which currently is 16KB.
|
||||
* The rest is for additional structures of the POSIX/Linux port.
|
||||
* This is a magic number since PTHREAD_STACK_MIN seems to not be a constant. */
|
||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) ( 0x4000 + 40 ) / sizeof( portSTACK_TYPE ) )
|
||||
#define configMINIMAL_STACK_SIZE ( ( StackType_t ) ( 0x4000 + 40 ) / sizeof( StackType_t ) )
|
||||
/* Currently not used in Linux POSIX simulator */
|
||||
#define configMAX_API_CALL_INTERRUPT_PRIORITY 0
|
||||
|
||||
|
Reference in New Issue
Block a user