]> git.sur5r.net Git - freertos/commitdiff
Set the low power mode entered in the idle hook to 3 in the MSP430X/IAR demo.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 12 Jan 2011 09:58:08 +0000 (09:58 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 12 Jan 2011 09:58:08 +0000 (09:58 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1237 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/MSP430X_MSP430F5438_IAR/main.c

index 1495b09b84a5f48544162ff3c6caa31bd24ad4ca..749fa19a453120c0483e6bdaf82fd045938a45ac 100644 (file)
@@ -605,8 +605,8 @@ const unsigned short usACLK_Frequency_Hz = 32768;
 void vApplicationIdleHook( void )\r
 {\r
        /* Called on each iteration of the idle task.  In this case the idle task\r
-       just enters a low(ish) power mode. */\r
-       __bis_SR_register( LPM1_bits + GIE );\r
+       just enters a low power mode. */\r
+       __bis_SR_register( LPM3_bits + GIE );\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r