]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/Renesas/RX100/port.c
Multiple tidy up, documentation corrections and typo corrections highlighted by Tamas...
[freertos] / FreeRTOS / Source / portable / Renesas / RX100 / port.c
index 2af51d8f43834b6d9a88ef56a742e7f049aaf363..5f49466464076a5e0d885109f0093ed342f6a22f 100644 (file)
@@ -1,5 +1,6 @@
 /*\r
-    FreeRTOS V7.5.2 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
 \r
@@ -443,7 +444,9 @@ static void prvYieldHandler( void )
 \r
 void vPortEndScheduler( void )\r
 {\r
-       /* Not implemented as there is nothing to return to. */\r
+       /* Not implemented in ports where there is nothing to return to.\r
+       Artificially force an assert. */\r
+       configASSERT( pxCurrentTCB == NULL );\r
 \r
        /* The following line is just to prevent the symbol getting optimised away. */\r
        ( void ) vTaskSwitchContext();\r