mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
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. */
|
interrupted. */
|
||||||
taskYIELD();
|
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. */
|
/* There were no other characters to transmit. */
|
||||||
sTHREEmpty = pdTRUE;
|
sTHREEmpty = pdTRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__bic_SR_register_on_exit( SCG1 + SCG0 + OSCOFF + CPUOFF );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue