From 5a0782e3a8be2c29fc4dd109a75bcff4116ff3e1 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Wed, 12 Jan 2011 09:58:08 +0000 Subject: [PATCH] Set the low power mode entered in the idle hook to 3 in the MSP430X/IAR demo. --- Demo/MSP430X_MSP430F5438_IAR/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Demo/MSP430X_MSP430F5438_IAR/main.c b/Demo/MSP430X_MSP430F5438_IAR/main.c index 1495b09b8..749fa19a4 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/main.c +++ b/Demo/MSP430X_MSP430F5438_IAR/main.c @@ -605,8 +605,8 @@ const unsigned short usACLK_Frequency_Hz = 32768; void vApplicationIdleHook( void ) { /* Called on each iteration of the idle task. In this case the idle task - just enters a low(ish) power mode. */ - __bis_SR_register( LPM1_bits + GIE ); + just enters a low power mode. */ + __bis_SR_register( LPM3_bits + GIE ); } /*-----------------------------------------------------------*/