]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/PIC32MX_MPLAB/main.c
Change version numbers ready for V8.0.0 release candidate 1 tag.
[freertos] / FreeRTOS / Demo / PIC32MX_MPLAB / main.c
index 292671b792fe34b360e6dfc3a39a3eb188342249..35705e12d5be52a9fdb50dd3e254863ee980797a 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.5.3 - Copyright (C) 2013 Real Time Engineers Ltd. \r
+    FreeRTOS V8.0.0:rc1 - Copyright (C) 2014 Real Time Engineers Ltd. \r
     All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
@@ -190,7 +190,7 @@ void vApplicationIdleHook( void )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )\r
+void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )\r
 {\r
        ( void ) pcTaskName;\r
        ( void ) pxTask;\r
@@ -229,7 +229,7 @@ volatile unsigned long ul = 0;
        ( void ) pcFile;\r
        ( void ) ulLine;\r
 \r
-       taskENTER_CRITICAL();\r
+       __asm volatile( "di" );\r
        {\r
                /* Set ul to a non-zero value using the debugger to step out of this\r
                function. */\r
@@ -238,5 +238,5 @@ volatile unsigned long ul = 0;
                        portNOP();\r
                }\r
        }\r
-       taskEXIT_CRITICAL();\r
+       __asm volatile( "ei" );\r
 }\r