From 53af4558886960f99632fb9cea1af91ce3fe82b1 Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 17 Apr 2009 15:16:59 +0000 Subject: [PATCH] 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 --- bertos/cpu/arm/drv/timer_arm.c | 5 +++++ 1 file changed, 5 insertions(+) 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) */ -- 2.25.1