mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Update to allow low power mode to be used with the RTOS.
This commit is contained in:
parent
3c4c58dc6d
commit
518d5e538a
|
@ -112,6 +112,10 @@ _portRESTORE_CONTEXT::
|
|||
pop R6
|
||||
pop R5
|
||||
pop R4
|
||||
|
||||
/* Ensure any low power mode bits are cleared within the status
|
||||
register about to be restored. */
|
||||
bic #(SCG1+SCG0+OSCOFF+CPUOFF),0(SP)
|
||||
reti
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue