]> git.sur5r.net Git - freertos/blobdiff - Demo/RX600_RX62N-RDK_IAR/IntQueueTimer.c
Change the priorities used by the RX/RDK/IAR demo application to ensure they can...
[freertos] / Demo / RX600_RX62N-RDK_IAR / IntQueueTimer.c
index 469ed7f7ec393fc626192a740564fc829582308a..394dfa8c6bfc594b26b63e96980b54d7a998ad03 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd.\r
+    FreeRTOS V6.1.1 - Copyright (C) 2011 Real Time Engineers Ltd.\r
 \r
     ***************************************************************************\r
     *                                                                         *\r
@@ -10,7 +10,7 @@
     *    + Looking for basic training,                                        *\r
     *    + Wanting to improve your FreeRTOS skills and productivity           *\r
     *                                                                         *\r
-    * then take a look at the FreeRTOS eBook                                  *\r
+    * then take a look at the FreeRTOS books - available as PDF or paperback  *\r
     *                                                                         *\r
     *        "Using the FreeRTOS Real Time Kernel - a Practical Guide"        *\r
     *                  http://www.FreeRTOS.org/Documentation                  *\r
@@ -132,6 +132,7 @@ void vInitialiseTimerForIntQueueTest( void )
 #pragma vector = VECT_TMR0_CMIA0\r
 __interrupt void vT0_1InterruptHandler( void )\r
 {\r
+       __enable_interrupt();\r
        portYIELD_FROM_ISR( xFirstTimerHandler() );\r
 }\r
 /*-----------------------------------------------------------*/\r
@@ -139,6 +140,7 @@ __interrupt void vT0_1InterruptHandler( void )
 #pragma vector = VECT_TMR2_CMIA2\r
 __interrupt void vT2_3InterruptHandler( void )\r
 {\r
+       __enable_interrupt();\r
        portYIELD_FROM_ISR( xSecondTimerHandler() );\r
 }\r
 \r