Update to allow low power mode to be used with the RTOS.

This commit is contained in:
Richard Barry
2008-10-19 18:08:53 +00:00
parent 3c4c58dc6d
commit 518d5e538a

View File

@@ -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