From: richardbarry Date: Sun, 19 Oct 2008 18:10:52 +0000 (+0000) Subject: Update ISR functions to be compliant with low power mode operation. X-Git-Tag: V5.1.2~193 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bc16434e46fca9be9b7516242ab4bac2e71e9add;p=freertos Update ISR functions to be compliant with low power mode operation. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@503 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/msp430_CrossWorks/serial/serial.c b/Demo/msp430_CrossWorks/serial/serial.c index e5130f26c..175d591c0 100644 --- a/Demo/msp430_CrossWorks/serial/serial.c +++ b/Demo/msp430_CrossWorks/serial/serial.c @@ -225,6 +225,8 @@ signed portBASE_TYPE xReturn; interrupted. */ taskYIELD(); } + + __bic_SR_register_on_exit( SCG1 + SCG0 + OSCOFF + CPUOFF ); } /*-----------------------------------------------------------*/ @@ -249,6 +251,8 @@ signed portBASE_TYPE xReturn; /* There were no other characters to transmit. */ sTHREEmpty = pdTRUE; } + + __bic_SR_register_on_exit( SCG1 + SCG0 + OSCOFF + CPUOFF ); } #endif