mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 17:27:46 -04:00
13 lines
807 B
Diff
13 lines
807 B
Diff
diff --git a/FreeRTOS/Source/queue.c b/FreeRTOS/Source/queue.c
|
|
index d2e27e55a..4dd164da6 100644
|
|
--- a/FreeRTOS/Source/queue.c
|
|
+++ b/FreeRTOS/Source/queue.c
|
|
@@ -395,7 +395,7 @@ BaseType_t xQueueGenericReset( QueueHandle_t xQueue,
|
|
xQueueSizeInBytes = ( size_t ) ( uxQueueLength * uxItemSize ); /*lint !e961 MISRA exception as the casts are only redundant for some ports. */
|
|
|
|
/* Check for multiplication overflow. */
|
|
- configASSERT( ( uxItemSize == 0 ) || ( uxQueueLength == ( xQueueSizeInBytes / uxItemSize ) ) );
|
|
+ /* configASSERT( ( uxItemSize == 0 ) || ( uxQueueLength == ( xQueueSizeInBytes / uxItemSize ) ) ); */
|
|
|
|
/* Allocate the queue and storage area. Justification for MISRA
|
|
* deviation as follows: pvPortMalloc() always ensures returned memory
|