From 06db18183031af5d28a531e9f73564e66232c318 Mon Sep 17 00:00:00 2001 From: rtel Date: Thu, 28 Dec 2017 20:20:26 +0000 Subject: [PATCH] Correct out of date comment in tasks.c. 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 | 2 +- FreeRTOS/Source/tasks.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FreeRTOS/Source/include/queue.h b/FreeRTOS/Source/include/queue.h index 28952052c..4146d9f2d 100644 --- a/FreeRTOS/Source/include/queue.h +++ b/FreeRTOS/Source/include/queue.h @@ -233,7 +233,7 @@ typedef void * QueueSetMemberHandle_t; /** * queue. h *
- BaseType_t xQueueSendToToFront(
+ BaseType_t xQueueSendToFront(
 								   QueueHandle_t	xQueue,
 								   const void		*pvItemToQueue,
 								   TickType_t		xTicksToWait
diff --git a/FreeRTOS/Source/tasks.c b/FreeRTOS/Source/tasks.c
index e881563db..7e4d9c520 100644
--- a/FreeRTOS/Source/tasks.c
+++ b/FreeRTOS/Source/tasks.c
@@ -3474,7 +3474,7 @@ static void prvCheckTasksWaitingTermination( void )
 	{
 		TCB_t *pxTCB;
 
-		/* uxDeletedTasksWaitingCleanUp is used to prevent vTaskSuspendAll()
+		/* uxDeletedTasksWaitingCleanUp is used to prevent taskENTER_CRITICAL()
 		being called too often in the idle task. */
 		while( uxDeletedTasksWaitingCleanUp > ( UBaseType_t ) 0U )
 		{
-- 
2.39.5