Update tasks.c to remove non-20.7 fixes

This commit is contained in:
bradleysmith23 2024-01-31 10:40:26 -08:00 committed by GitHub
parent 0c4592175d
commit cf4cad7930
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2657,7 +2657,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
* https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html */
portASSERT_IF_INTERRUPT_PRIORITY_INVALID();
uxSavedInterruptStatus = ( unsigned short ) taskENTER_CRITICAL_FROM_ISR();
uxSavedInterruptStatus = taskENTER_CRITICAL_FROM_ISR();
{
/* If null is passed in here then it is the priority of the calling
* task that is being queried. */
@ -2728,7 +2728,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
* https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html */
portASSERT_IF_INTERRUPT_PRIORITY_INVALID();
uxSavedInterruptStatus = ( unsigned short ) taskENTER_CRITICAL_FROM_ISR();
uxSavedInterruptStatus = taskENTER_CRITICAL_FROM_ISR();
{
/* If null is passed in here then it is the base priority of the calling
* task that is being queried. */
@ -8036,7 +8036,7 @@ TickType_t uxTaskResetEventItemValue( void )
pxTCB = xTaskToNotify;
uxSavedInterruptStatus = (unsigned short ) taskENTER_CRITICAL_FROM_ISR();
uxSavedInterruptStatus = taskENTER_CRITICAL_FROM_ISR();
{
if( pulPreviousNotificationValue != NULL )
{
@ -8195,7 +8195,7 @@ TickType_t uxTaskResetEventItemValue( void )
pxTCB = xTaskToNotify;
uxSavedInterruptStatus = ( unsigned short ) taskENTER_CRITICAL_FROM_ISR();
uxSavedInterruptStatus = taskENTER_CRITICAL_FROM_ISR();
{
ucOriginalNotifyState = pxTCB->ucNotifyState[ uxIndexToNotify ];
pxTCB->ucNotifyState[ uxIndexToNotify ] = taskNOTIFICATION_RECEIVED;