Update ISR functions to be compliant with low power mode operation.
This commit is contained in:
parent
518d5e538a
commit
86edfb7dd4
@ -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
|
||||
|
Reference in New Issue
Block a user