From: rtel Date: Thu, 28 Dec 2017 20:20:26 +0000 (+0000) Subject: Correct out of date comment in tasks.c. X-Git-Tag: V10.1.0~39 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=06db18183031af5d28a531e9f73564e66232c318;p=freertos 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 --- 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 )
 		{