aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARM7-AT91SAM7X/chcore.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-10 17:43:13 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-10 17:43:13 +0000
commit122015057a398b5132960577ac7ba4e7c1cb5b88 (patch)
tree19636e81f1bc80984b08eb6e7f9368ac88dba97f /ports/ARM7-AT91SAM7X/chcore.c
parent8b17d5526d2745c409aac95a3e1da3102959626c (diff)
downloadChibiOS-122015057a398b5132960577ac7ba4e7c1cb5b88.tar.gz
ChibiOS-122015057a398b5132960577ac7ba4e7c1cb5b88.tar.bz2
ChibiOS-122015057a398b5132960577ac7ba4e7c1cb5b88.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@614 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARM7-AT91SAM7X/chcore.c')
-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
}