aboutsummaryrefslogtreecommitdiffstats
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/ARM7-AT91SAM7X/chcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/ARM7-AT91SAM7X/chcore.c b/ports/ARM7-AT91SAM7X/chcore.c
index 1d40a840a..f404efce1 100644
--- a/ports/ARM7-AT91SAM7X/chcore.c
+++ b/ports/ARM7-AT91SAM7X/chcore.c
@@ -49,7 +49,7 @@ __attribute__((weak))
void sys_wait_for_interrupt(void) {
#if ENABLE_WFI_IDLE != 0
- PCON = 1;
+ AT91C_BASE_SYS->PMC_SCDR = AT91C_PMC_PCK;
#endif
}