From b116cff94f4148b1d9d64ac55831241f77e37289 Mon Sep 17 00:00:00 2001 From: timoxd7 <32987859+timoxd7@users.noreply.github.com> Date: Thu, 17 Nov 2022 20:20:29 +0100 Subject: [PATCH] Queue Send fix Fixes rare deadlock on heavy loaded multicore-systems. --- components/freertos/queue.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/freertos/queue.c b/components/freertos/queue.c index db1b57468e..47889284f6 100644 --- a/components/freertos/queue.c +++ b/components/freertos/queue.c @@ -1616,15 +1616,6 @@ BaseType_t xQueueSemaphoreTake( QueueHandle_t xQueue, { if( xTicksToWait == ( TickType_t ) 0 ) { - /* For inheritance to have occurred there must have been an - * initial timeout, and an adjusted timeout cannot become 0, as - * if it were 0 the function would have exited. */ - #if ( configUSE_MUTEXES == 1 ) - { - configASSERT( xInheritanceOccurred == pdFALSE ); - } - #endif /* configUSE_MUTEXES */ - /* The semaphore count was 0 and no block time is specified * (or the block time has expired) so exit now. */ taskEXIT_CRITICAL();