Ver Fonte

Update queue.c

tangzz98 há 3 anos atrás
pai
commit
9b4c865b72
1 ficheiros alterados com 0 adições e 5 exclusões
  1. 0 5
      FreeRTOS/queue.c

+ 0 - 5
FreeRTOS/queue.c

@@ -402,11 +402,6 @@ BaseType_t xQueueGenericSendFromISR( QueueHandle_t xQueue,
     rt_err_t err = -RT_ERROR;
 
     configASSERT( pxQueue );
-    #if ( ( INCLUDE_xTaskGetSchedulerState == 1 ) || ( configUSE_TIMERS == 1 ) )
-        {
-            configASSERT( !( ( xTaskGetSchedulerState() == taskSCHEDULER_SUSPENDED ) && ( xTicksToWait != 0 ) ) );
-        }
-    #endif
 
     pipc = pxQueue->rt_ipc;
     RT_ASSERT( pipc != RT_NULL );