]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/include/message_buffer.h
Correct code comments that referred to taskYIELD_FROM_ISR to portYIELD_FROM_ISR.
[freertos] / FreeRTOS / Source / include / message_buffer.h
index e088755f2d05ea20091b094833d68874eeec879a..745f0b6135fa12dae51f1acb1d16c75cfe9ed7af 100644 (file)
@@ -399,10 +399,10 @@ BaseType_t xHigherPriorityTaskWoken = pdFALSE; // Initialised to pdFALSE.
     // priority of the currently executing task was unblocked and a context\r
     // switch should be performed to ensure the ISR returns to the unblocked\r
     // task.  In most FreeRTOS ports this is done by simply passing\r
-    // xHigherPriorityTaskWoken into taskYIELD_FROM_ISR(), which will test the\r
+    // xHigherPriorityTaskWoken into portYIELD_FROM_ISR(), which will test the\r
     // variables value, and perform the context switch if necessary.  Check the\r
     // documentation for the port in use for port specific instructions.\r
-    taskYIELD_FROM_ISR( xHigherPriorityTaskWoken );\r
+    portYIELD_FROM_ISR( xHigherPriorityTaskWoken );\r
 }\r
 </pre>\r
  * \defgroup xMessageBufferSendFromISR xMessageBufferSendFromISR\r
@@ -588,10 +588,10 @@ BaseType_t xHigherPriorityTaskWoken = pdFALSE;  // Initialised to pdFALSE.
     // priority of the currently executing task was unblocked and a context\r
     // switch should be performed to ensure the ISR returns to the unblocked\r
     // task.  In most FreeRTOS ports this is done by simply passing\r
-    // xHigherPriorityTaskWoken into taskYIELD_FROM_ISR(), which will test the\r
+    // xHigherPriorityTaskWoken into portYIELD_FROM_ISR(), which will test the\r
     // variables value, and perform the context switch if necessary.  Check the\r
     // documentation for the port in use for port specific instructions.\r
-    taskYIELD_FROM_ISR( xHigherPriorityTaskWoken );\r
+    portYIELD_FROM_ISR( xHigherPriorityTaskWoken );\r
 }\r
 </pre>\r
  * \defgroup xMessageBufferReceiveFromISR xMessageBufferReceiveFromISR\r