| 2393 | /*-----------------------------------------------------------*/ |
| 2394 | |
| 2395 | static BaseType_t prvIsQueueFull( const Queue_t * pxQueue ) |
| 2396 | { |
| 2397 | BaseType_t xReturn; |
| 2398 | |
| 2399 | taskENTER_CRITICAL(); |
| 2400 | { |
| 2401 | if( pxQueue->uxMessagesWaiting == pxQueue->uxLength ) |
| 2402 | { |
| 2403 | xReturn = pdTRUE; |
| 2404 | } |
| 2405 | else |
| 2406 | { |
| 2407 | xReturn = pdFALSE; |
| 2408 | } |
| 2409 | } |
| 2410 | taskEXIT_CRITICAL(); |
| 2411 | |
| 2412 | return xReturn; |
| 2413 | } |
| 2414 | /*-----------------------------------------------------------*/ |
| 2415 | |
| 2416 | BaseType_t xQueueIsQueueFullFromISR( const QueueHandle_t xQueue ) |
no outgoing calls
no test coverage detected