From: asterix Date: Tue, 21 Apr 2009 16:12:09 +0000 (+0000) Subject: Typos. X-Git-Tag: 2.1.0~71 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=b1c40f913e9ce4ec662f461aaff120be3aeba125;p=bertos.git Typos. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2611 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/drv/pwm_arm.c b/bertos/cpu/arm/drv/pwm_arm.c index 690122f9..975d8db7 100644 --- a/bertos/cpu/arm/drv/pwm_arm.c +++ b/bertos/cpu/arm/drv/pwm_arm.c @@ -44,10 +44,14 @@ #ifndef WIZ_AUTOGEN #warning This file is deprecated, you should use pwm_at91.c -#if CPU_ARM_AT91 - #include "pwm_at91.c" -/*#elif Add other ARM families here */ -#else - #error Unknown CPU -#endif + + #include + + #if CPU_ARM_AT91 + #include "pwm_at91.c" + /*#elif Add other ARM families here */ + #else + #error Unknown CPU + #endif +#endif /* WIZ_AUTOGEN */ diff --git a/bertos/cpu/arm/drv/stepper_arm.c b/bertos/cpu/arm/drv/stepper_arm.c index 91d23562..446ba1da 100644 --- a/bertos/cpu/arm/drv/stepper_arm.c +++ b/bertos/cpu/arm/drv/stepper_arm.c @@ -42,12 +42,14 @@ */ #ifndef WIZ_AUTOGEN #warning This file is deprecated, you should use stepper_at91.c + #include -#if CPU_ARM_AT91 - #include "stepper_at91.c" -/*#elif Add other ARM families here */ -#else - #error Unknown CPU -#endif + #if CPU_ARM_AT91 + #include "stepper_at91.c" + /*#elif Add other ARM families here */ + #else + #error Unknown CPU + #endif +#endif /* WIZ_AUTOGEN */