diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-10 15:02:43 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-10 15:02:43 +0000 |
commit | 48c87272fef9287a301176e9a83737fb5e78ba51 (patch) | |
tree | 12c9b277378ec0e4fbeb4e0ee9f00fc0abf6e3e5 /ports/ARM7-AT91SAM7X | |
parent | 6ed1607bcbc481444e8aaff5a06e771bdaa4f21e (diff) | |
download | ChibiOS-48c87272fef9287a301176e9a83737fb5e78ba51.tar.gz ChibiOS-48c87272fef9287a301176e9a83737fb5e78ba51.tar.bz2 ChibiOS-48c87272fef9287a301176e9a83737fb5e78ba51.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@608 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARM7-AT91SAM7X')
-rw-r--r-- | ports/ARM7-AT91SAM7X/chcore.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/ARM7-AT91SAM7X/chcore.c b/ports/ARM7-AT91SAM7X/chcore.c index d2a77950a..1d40a840a 100644 --- a/ports/ARM7-AT91SAM7X/chcore.c +++ b/ports/ARM7-AT91SAM7X/chcore.c @@ -48,7 +48,9 @@ void sys_puts(char *msg) { __attribute__((weak))
void sys_wait_for_interrupt(void) {
+#if ENABLE_WFI_IDLE != 0
PCON = 1;
+#endif
}
/**
|