]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_STM32L152_Discovery_IAR/STM32L_low_power_tick_management.c
Update version number to 9.0.0rc2.
[freertos] / FreeRTOS / Demo / CORTEX_STM32L152_Discovery_IAR / STM32L_low_power_tick_management.c
index 4e1c319ae5883f61fe6fbe169ec597c324a26802..ba6543835cd0a802f7f6fc37484672e5dfad0c21 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V8.2.2 - Copyright (C) 2015 Real Time Engineers Ltd.\r
+    FreeRTOS V9.0.0rc2 - Copyright (C) 2016 Real Time Engineers Ltd.\r
     All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
@@ -8,7 +8,7 @@
 \r
     FreeRTOS is free software; you can redistribute it and/or modify it under\r
     the terms of the GNU General Public License (version 2) as published by the\r
-    Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
+    Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.\r
 \r
     ***************************************************************************\r
     >>!   NOTE: The modification to the GPL is included to allow you to     !<<\r
@@ -278,6 +278,8 @@ const TickType_t xRegulatorOffIdleTime = 30;
                /* Re-enable interrupts - see comments above the cpsid instruction()\r
                above. */\r
                __asm volatile ( "cpsie i" );\r
+               __asm volatile ( "dsb" );\r
+               __asm volatile ( "isb" );\r
        }\r
        else\r
        {\r