projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new line at the end of file.
[bertos.git]
/
bertos
/
cpu
/
arm
/
drv
/
pwm_arm.c
diff --git
a/bertos/cpu/arm/drv/pwm_arm.c
b/bertos/cpu/arm/drv/pwm_arm.c
index 77a6a68be6c989b6a932f04272b5ff4a31973157..690122f9ea5a840b88e8643f119bb5f181f5b6bd 100644
(file)
--- a/
bertos/cpu/arm/drv/pwm_arm.c
+++ b/
bertos/cpu/arm/drv/pwm_arm.c
@@
-44,13
+44,10
@@
#ifndef WIZ_AUTOGEN
#warning This file is deprecated, you should use pwm_at91.c
#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 */
\ No newline at end of file