From b1c40f913e9ce4ec662f461aaff120be3aeba125 Mon Sep 17 00:00:00 2001 From: asterix Date: Tue, 21 Apr 2009 16:12:09 +0000 Subject: [PATCH] Typos. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2611 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/drv/pwm_arm.c | 16 ++++++++++------ bertos/cpu/arm/drv/stepper_arm.c | 14 ++++++++------ 2 files changed, 18 insertions(+), 12 deletions(-) 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 */ -- 2.25.1