freertos: removed likely macros from non-port specifics parts of freertos

fatfs: moved esp_compiler header file inside of disk implementation file
This commit is contained in:
Felipe Neves
2019-12-04 11:01:25 -03:00
parent 668b33dcf3
commit d059a955ae
11 changed files with 18 additions and 18 deletions

View File

@@ -782,7 +782,7 @@ Queue_t * const pxQueue = ( Queue_t * ) xQueue;
mtCOVERAGE_TEST_MARKER();
}
}
else if(unlikely(xYieldRequired != pdFALSE))
else if(xYieldRequired != pdFALSE)
{
/* This path is a special case that will only get
executed if the task was holding multiple mutexes
@@ -815,7 +815,7 @@ Queue_t * const pxQueue = ( Queue_t * ) xQueue;
mtCOVERAGE_TEST_MARKER();
}
}
else if(unlikely(xYieldRequired != pdFALSE))
else if(xYieldRequired != pdFALSE)
{
/* This path is a special case that will only get
executed if the task was holding multiple mutexes and
@@ -868,7 +868,7 @@ Queue_t * const pxQueue = ( Queue_t * ) xQueue;
taskENTER_CRITICAL(&pxQueue->mux);
/* Update the timeout state to see if it has expired yet. */
if(likely(xTaskCheckForTimeOut( &xTimeOut, &xTicksToWait ) == pdFALSE ))
if(xTaskCheckForTimeOut( &xTimeOut, &xTicksToWait ) == pdFALSE )
{
if( prvIsQueueFull( pxQueue ) != pdFALSE )
{
@@ -1573,7 +1573,7 @@ Queue_t * const pxQueue = ( Queue_t * ) xQueue;
taskENTER_CRITICAL(&pxQueue->mux);
/* Update the timeout state to see if it has expired yet. */
if(likely(xTaskCheckForTimeOut( &xTimeOut, &xTicksToWait ) == pdFALSE))
if(xTaskCheckForTimeOut( &xTimeOut, &xTicksToWait ) == pdFALSE)
{
if( prvIsQueueEmpty( pxQueue ) != pdFALSE )
{
@@ -1888,7 +1888,7 @@ BaseType_t xReturn = pdFALSE;
}
#endif /* configUSE_MUTEXES */
}
else if(likely(xPosition == queueSEND_TO_BACK))
else if(xPosition == queueSEND_TO_BACK)
{
( void ) memcpy( ( void * ) pxQueue->pcWriteTo, pvItemToQueue, ( size_t ) pxQueue->uxItemSize ); /*lint !e961 !e418 MISRA exception as the casts are only redundant for some ports, plus previous logic ensures a null pointer can only be passed to memcpy() if the copy size is 0. */
pxQueue->pcWriteTo += pxQueue->uxItemSize;