From 4befbc1000213654ece40d16eaeeb7484275048b Mon Sep 17 00:00:00 2001 From: rtel Date: Mon, 29 May 2017 22:06:54 +0000 Subject: [PATCH] Fix typo in comment that got copied into multiple main.c file.s git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2508 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../main.c | 2 +- .../main.c | 2 +- .../main.c | 16 ++++++++-------- .../main.c | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_FAT_SL_and_CLI_Windows_Simulator/main.c b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_FAT_SL_and_CLI_Windows_Simulator/main.c index 24e7363fe..35fb8aa8d 100644 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_FAT_SL_and_CLI_Windows_Simulator/main.c +++ b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_FAT_SL_and_CLI_Windows_Simulator/main.c @@ -164,7 +164,7 @@ const uint32_t ulLongTime_ms = 250UL; line will never be reached. If the following line does execute, then there was insufficient FreeRTOS heap memory available for the idle and/or timer tasks to be created. See the memory management section on the - FreeRTOS web site for more details (this is standard text that is not not + FreeRTOS web site for more details (this is standard text that is not really applicable to the Win32 simulator port). */ for( ;; ) { diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_Reliance_Edge_and_CLI_Windows_Simulator/main.c b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_Reliance_Edge_and_CLI_Windows_Simulator/main.c index 9ad2f8221..c86b4a038 100644 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_Reliance_Edge_and_CLI_Windows_Simulator/main.c +++ b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_Reliance_Edge_and_CLI_Windows_Simulator/main.c @@ -148,7 +148,7 @@ const uint32_t ulLongTime_ms = 250UL; line will never be reached. If the following line does execute, then there was insufficient FreeRTOS heap memory available for the idle and/or timer tasks to be created. See the memory management section on the - FreeRTOS web site for more details (this is standard text that is not not + FreeRTOS web site for more details (this is standard text that is not really applicable to the Win32 simulator port). */ for( ;; ) { diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_UDP_and_CLI_Windows_Simulator/main.c b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_UDP_and_CLI_Windows_Simulator/main.c index 21ab35513..2924e4c33 100644 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_UDP_and_CLI_Windows_Simulator/main.c +++ b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_UDP_and_CLI_Windows_Simulator/main.c @@ -104,7 +104,7 @@ #define mainECHO_CLIENT_TASK_STACK_SIZE ( configMINIMAL_STACK_SIZE * 2 ) #define mainECHO_CLIENT_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 ) -/* Set the following constants to 1 or 0 to define which tasks to include and +/* Set the following constants to 1 or 0 to define which tasks to include and exclude. */ #define mainCREATE_UDP_CLI_TASKS 1 #define mainCREATE_SIMPLE_UDP_CLIENT_SERVER_TASKS 0 @@ -154,7 +154,7 @@ int main( void ) { const uint32_t ulLongTime_ms = 250UL; - /* Create a mutex that is used to guard against the console being accessed + /* Create a mutex that is used to guard against the console being accessed by more than one task simultaniously. */ xConsoleMutex = xSemaphoreCreateMutex(); @@ -175,7 +175,7 @@ const uint32_t ulLongTime_ms = 250UL; line will never be reached. If the following line does execute, then there was insufficient FreeRTOS heap memory available for the idle and/or timer tasks to be created. See the memory management section on the - FreeRTOS web site for more details (this is standard text that is not not + FreeRTOS web site for more details (this is standard text that is not really applicable to the Win32 simulator port). */ for( ;; ) { @@ -335,11 +335,11 @@ void vApplicationMallocFailedHook( void ) function that will get called if a call to pvPortMalloc() fails. pvPortMalloc() is called internally by the kernel whenever a task, queue, timer or semaphore is created. It is also called by various parts of the - demo application. If heap_1.c, heap_2.c or heap_4.c are used, then the - size of the heap available to pvPortMalloc() is defined by - configTOTAL_HEAP_SIZE in FreeRTOSConfig.h, and the xPortGetFreeHeapSize() - API function can be used to query the size of free heap space that remains - (although it does not provide information on how the remaining heap might + demo application. If heap_1.c, heap_2.c or heap_4.c are used, then the + size of the heap available to pvPortMalloc() is defined by + configTOTAL_HEAP_SIZE in FreeRTOSConfig.h, and the xPortGetFreeHeapSize() + API function can be used to query the size of free heap space that remains + (although it does not provide information on how the remaining heap might be fragmented). */ taskDISABLE_INTERRUPTS(); for( ;; ); diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_WolfSSL_Windows_Simulator/main.c b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_WolfSSL_Windows_Simulator/main.c index 22a35de89..36f7cdef8 100644 --- a/FreeRTOS-Plus/Demo/FreeRTOS_Plus_WolfSSL_Windows_Simulator/main.c +++ b/FreeRTOS-Plus/Demo/FreeRTOS_Plus_WolfSSL_Windows_Simulator/main.c @@ -111,7 +111,7 @@ const uint32_t ulLongTime_ms = 250UL; line will never be reached. If the following line does execute, then there was insufficient FreeRTOS heap memory available for the idle and/or timer tasks to be created. See the memory management section on the - FreeRTOS web site for more details (this is standard text that is not not + FreeRTOS web site for more details (this is standard text that is not really applicable to the Win32 simulator port). */ for( ;; ) { @@ -125,7 +125,7 @@ void vApplicationIdleHook( void ) const unsigned long ulMSToSleep = 5; /* This function is called on each cycle of the idle task if - configUSE_IDLE_HOOK is set to 1 in FreeRTOSConfig.h. Sleep to reduce CPU + configUSE_IDLE_HOOK is set to 1 in FreeRTOSConfig.h. Sleep to reduce CPU load. */ Sleep( ulMSToSleep ); } -- 2.39.2