From 48c87272fef9287a301176e9a83737fb5e78ba51 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 10 Jan 2009 15:02:43 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@608 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- ports/ARM7/chcore.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ports/ARM7') diff --git a/ports/ARM7/chcore.h b/ports/ARM7/chcore.h index ae914b8bd..a446fdb7e 100644 --- a/ports/ARM7/chcore.h +++ b/ports/ARM7/chcore.h @@ -25,6 +25,13 @@ #ifndef _CHCORE_H_ #define _CHCORE_H_ +/** + * If enabled allows the idle thread to enter a low power mode. + */ +#ifndef ENABLE_WFI_IDLE +#define ENABLE_WFI_IDLE 0 +#endif + /** * Macro defining the ARM7 architecture. */ -- cgit v1.2.3