@@ -96,12 +96,6 @@ typedef struct SemaphoreData
9696 #endif /* #if ( configNUMBER_OF_CORES == 1 ) */
9797#endif
9898
99- #if ( configNUMBER_OF_CORES == 1 )
100- #define queueYIELD_WITHIN_API () portYIELD_WITHIN_API()
101- #else /* #if ( configNUMBER_OF_CORES == 1 ) */
102- #define queueYIELD_WITHIN_API () vTaskYieldWithinAPI()
103- #endif /* #if ( configNUMBER_OF_CORES == 1 ) */
104-
10599/*
106100 * Definition of the queue used by the scheduler.
107101 * Items are queued by copy, not reference. See the following link for the
@@ -1080,7 +1074,7 @@ BaseType_t xQueueGenericSend( QueueHandle_t xQueue,
10801074 * is also a higher priority task in the pending ready list. */
10811075 if ( xTaskResumeAll () == pdFALSE )
10821076 {
1083- queueYIELD_WITHIN_API ();
1077+ taskYIELD_WITHIN_API ();
10841078 }
10851079 }
10861080 else
@@ -1541,7 +1535,7 @@ BaseType_t xQueueReceive( QueueHandle_t xQueue,
15411535
15421536 if ( xTaskResumeAll () == pdFALSE )
15431537 {
1544- queueYIELD_WITHIN_API ();
1538+ taskYIELD_WITHIN_API ();
15451539 }
15461540 else
15471541 {
@@ -1724,7 +1718,7 @@ BaseType_t xQueueSemaphoreTake( QueueHandle_t xQueue,
17241718
17251719 if ( xTaskResumeAll () == pdFALSE )
17261720 {
1727- queueYIELD_WITHIN_API ();
1721+ taskYIELD_WITHIN_API ();
17281722 }
17291723 else
17301724 {
@@ -1902,7 +1896,7 @@ BaseType_t xQueuePeek( QueueHandle_t xQueue,
19021896
19031897 if ( xTaskResumeAll () == pdFALSE )
19041898 {
1905- queueYIELD_WITHIN_API ();
1899+ taskYIELD_WITHIN_API ();
19061900 }
19071901 else
19081902 {
0 commit comments