]> git.sur5r.net Git - freertos/commitdiff
Correct out of date comment in tasks.c.
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 28 Dec 2017 20:20:26 +0000 (20:20 +0000)
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 28 Dec 2017 20:20:26 +0000 (20:20 +0000)
Fix typo in comment in queue.h.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2526 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Source/include/queue.h
FreeRTOS/Source/tasks.c

index 28952052c255093f1514dba7a4bfe089aca0a769..4146d9f2d525b31bcae69f94a32b2161dee5a86e 100644 (file)
@@ -233,7 +233,7 @@ typedef void * QueueSetMemberHandle_t;
 /**\r
  * queue. h\r
  * <pre>\r
- BaseType_t xQueueSendToToFront(\r
+ BaseType_t xQueueSendToFront(\r
                                                                   QueueHandle_t        xQueue,\r
                                                                   const void           *pvItemToQueue,\r
                                                                   TickType_t           xTicksToWait\r
index e881563dbf54a7997bb8b091bbbd64fb8fe16976..7e4d9c52080f2678df04dae016556a9c0050ef25 100644 (file)
@@ -3474,7 +3474,7 @@ static void prvCheckTasksWaitingTermination( void )
        {\r
                TCB_t *pxTCB;\r
 \r
-               /* uxDeletedTasksWaitingCleanUp is used to prevent vTaskSuspendAll()\r
+               /* uxDeletedTasksWaitingCleanUp is used to prevent taskENTER_CRITICAL()\r
                being called too often in the idle task. */\r
                while( uxDeletedTasksWaitingCleanUp > ( UBaseType_t ) 0U )\r
                {\r