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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user