From bc16434e46fca9be9b7516242ab4bac2e71e9add Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 19 Oct 2008 18:10:52 +0000 Subject: [PATCH] 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 --- Demo/msp430_CrossWorks/serial/serial.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5