mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-12 06:35:19 -05:00
Justified memset-ing pxNewTCB->ucNotifyState in prvInitialiseNewTask.
This commit is contained in:
parent
a78bc21b26
commit
d3813796b3
1 changed files with 1 additions and 0 deletions
1
tasks.c
1
tasks.c
|
|
@ -1660,6 +1660,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
|||
//@integers___to_integers_(pxNewTCB->ulNotifiedValue);
|
||||
//@ integers__to_chars(pxNewTCB->ulNotifiedValue);
|
||||
memset( ( void * ) &( pxNewTCB->ulNotifiedValue[ 0 ] ), 0x00, sizeof( pxNewTCB->ulNotifiedValue ) );
|
||||
//@ uchars__to_chars_(pxNewTCB->ucNotifyState);
|
||||
memset( ( void * ) &( pxNewTCB->ucNotifyState[ 0 ] ), 0x00, sizeof( pxNewTCB->ucNotifyState ) );
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue