mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Update to allow low power mode to be used with the RTOS.
This commit is contained in:
parent
3c4c58dc6d
commit
518d5e538a
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue