mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-28 05:58:36 -04:00
Changes in common files:
Add additional asserts into timers.c. Trivial changes and changes in demo applications: RX113 IAR project is not building and running. Make FreeRTOS_SetupInterrupt() and FreeRTOS_ClearInterrupt() weak symbols in the Zynq SDK repository. Correct typo in the port layer comments that was cut and paste into multiple files.
This commit is contained in:
parent
b3f343fdae
commit
cd42d2c215
34 changed files with 262 additions and 1048 deletions
|
@ -318,6 +318,8 @@ BaseType_t xTimerGenericCommand( TimerHandle_t xTimer, const BaseType_t xCommand
|
|||
BaseType_t xReturn = pdFAIL;
|
||||
DaemonTaskMessage_t xMessage;
|
||||
|
||||
configASSERT( xTimer );
|
||||
|
||||
/* Send a message to the timer service task to perform a particular action
|
||||
on a particular timer definition. */
|
||||
if( xTimerQueue != NULL )
|
||||
|
@ -371,6 +373,7 @@ const char * pcTimerGetTimerName( TimerHandle_t xTimer )
|
|||
{
|
||||
Timer_t *pxTimer = ( Timer_t * ) xTimer;
|
||||
|
||||
configASSERT( xTimer );
|
||||
return pxTimer->pcTimerName;
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
@ -810,6 +813,8 @@ BaseType_t xTimerIsTimerActive( TimerHandle_t xTimer )
|
|||
BaseType_t xTimerIsInActiveList;
|
||||
Timer_t *pxTimer = ( Timer_t * ) xTimer;
|
||||
|
||||
configASSERT( xTimer );
|
||||
|
||||
/* Is the timer in the list of active timers? */
|
||||
taskENTER_CRITICAL();
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue