Typos.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 21 Apr 2009 16:12:09 +0000 (16:12 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 21 Apr 2009 16:12:09 +0000 (16:12 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2611 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/arm/drv/pwm_arm.c
bertos/cpu/arm/drv/stepper_arm.c

index 690122f9ea5a840b88e8643f119bb5f181f5b6bd..975d8db7baa60d2f925c21636ce43d9e5d8f28bb 100644 (file)
 
 #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 <cpu/detect.h>
+
+       #if CPU_ARM_AT91
+               #include "pwm_at91.c"
+       /*#elif  Add other ARM families here */
+       #else
+               #error Unknown CPU
+       #endif
+#endif  /* WIZ_AUTOGEN */
 
index 91d2356263982eb8f9b3c51a5a9f3435a2176716..446ba1da14344d3150ddd5d862d3474240fa8228 100644 (file)
  */
 #ifndef WIZ_AUTOGEN
        #warning This file is deprecated, you should use stepper_at91.c
+
        #include <cpu/detect.h>
 
-#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 */