| 5622 | /*-----------------------------------------------------------*/ |
| 5623 | |
| 5624 | TickType_t uxTaskResetEventItemValue( void ) |
| 5625 | { |
| 5626 | TickType_t uxReturn; |
| 5627 | |
| 5628 | uxReturn = listGET_LIST_ITEM_VALUE( &( pxCurrentTCB->xEventListItem ) ); |
| 5629 | |
| 5630 | /* Reset the event list item to its normal value - so it can be used with |
| 5631 | * queues and semaphores. */ |
| 5632 | listSET_LIST_ITEM_VALUE( &( pxCurrentTCB->xEventListItem ), ( ( TickType_t ) configMAX_PRIORITIES - ( TickType_t ) pxCurrentTCB->uxPriority ) ); /*lint !e961 MISRA exception as the casts are only redundant for some ports. */ |
| 5633 | |
| 5634 | return uxReturn; |
| 5635 | } |
| 5636 | /*-----------------------------------------------------------*/ |
| 5637 | |
| 5638 | #if ( configUSE_MUTEXES == 1 ) |
no outgoing calls
no test coverage detected