mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-13 16:27:43 -04:00
Merge branch 'main' into main
This commit is contained in:
commit
85d2fa23c3
1 changed files with 1 additions and 0 deletions
1
portable/ThirdParty/GCC/Posix/port.c
vendored
1
portable/ThirdParty/GCC/Posix/port.c
vendored
|
@ -229,6 +229,7 @@ StackType_t * pxPortInitialiseStack( StackType_t * pxTopOfStack,
|
|||
/* Ensure that there is enough space to store Thread_t on the stack. */
|
||||
ulStackSize = ( size_t ) ( pxTopOfStack + 1 - pxEndOfStack ) * sizeof( *pxTopOfStack );
|
||||
configASSERT( ulStackSize > sizeof( Thread_t ) );
|
||||
( void ) ulStackSize; /* suppress set but not used warning */
|
||||
|
||||
thread->pxCode = pxCode;
|
||||
thread->pvParams = pvParameters;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue