|
|
@ -3838,17 +3838,7 @@
|
|
|
|
BaseType_t xReturn = pdFALSE;
|
|
|
|
BaseType_t xReturn = pdFALSE;
|
|
|
|
TimerHandle_t xInternalTimerHandle = NULL;
|
|
|
|
TimerHandle_t xInternalTimerHandle = NULL;
|
|
|
|
int32_t lIndex;
|
|
|
|
int32_t lIndex;
|
|
|
|
BaseType_t xIsHigherPriorityTaskWokenWriteable = pdFALSE;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( pxHigherPriorityTaskWoken != NULL )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
xIsHigherPriorityTaskWokenWriteable = xPortIsAuthorizedToAccessBuffer( pxHigherPriorityTaskWoken,
|
|
|
|
|
|
|
|
sizeof( BaseType_t ),
|
|
|
|
|
|
|
|
tskMPU_WRITE_PERMISSION );
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( ( pxHigherPriorityTaskWoken == NULL ) || ( xIsHigherPriorityTaskWokenWriteable == pdTRUE ) )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
lIndex = ( int32_t ) xTimer;
|
|
|
|
lIndex = ( int32_t ) xTimer;
|
|
|
|
|
|
|
|
|
|
|
|
if( IS_EXTERNAL_INDEX_VALID( lIndex ) != pdFALSE )
|
|
|
|
if( IS_EXTERNAL_INDEX_VALID( lIndex ) != pdFALSE )
|
|
|
@ -3860,7 +3850,6 @@
|
|
|
|
xReturn = xTimerGenericCommandFromISR( xInternalTimerHandle, xCommandID, xOptionalValue, pxHigherPriorityTaskWoken, xTicksToWait );
|
|
|
|
xReturn = xTimerGenericCommandFromISR( xInternalTimerHandle, xCommandID, xOptionalValue, pxHigherPriorityTaskWoken, xTicksToWait );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return xReturn;
|
|
|
|
return xReturn;
|
|
|
|
}
|
|
|
|
}
|
|
|
|