Justified memset-ing pxNewTCB->ucNotifyState in prvInitialiseNewTask.

This commit is contained in:
Tobias Reinhard 2022-10-26 08:33:47 -04:00
parent a78bc21b26
commit d3813796b3

View file

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