From: batt Date: Fri, 17 Apr 2009 15:16:59 +0000 (+0000) Subject: Do not compile twice arm C files in nighttest. X-Git-Tag: 2.1.0~135 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=53af4558886960f99632fb9cea1af91ce3fe82b1;p=bertos.git Do not compile twice arm C files in nighttest. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2547 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/drv/timer_arm.c b/bertos/cpu/arm/drv/timer_arm.c index 405366ce..b6f4d845 100644 --- a/bertos/cpu/arm/drv/timer_arm.c +++ b/bertos/cpu/arm/drv/timer_arm.c @@ -38,6 +38,9 @@ */ #include +#include + +#if !(ARCH & ARCH_NIGHTTEST) #if CPU_ARM_AT91 #include "timer_at91.c" @@ -45,3 +48,5 @@ #else #error Unknown CPU #endif + +#endif /* (ARCH & ARCH_NIGHTLYTEST) */