projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformar get name funtion. Add test.
[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 690122f9ea5a840b88e8643f119bb5f181f5b6bd..18b699ab46a4f658d898c9eb4f2d1807a7266a58 100644
(file)
--- a/
bertos/cpu/arm/drv/pwm_arm.c
+++ b/
bertos/cpu/arm/drv/pwm_arm.c
@@
-32,7
+32,6
@@
*
* \brief Low-level PWM module for ARM (inplementation).
*
*
* \brief Low-level PWM module for ARM (inplementation).
*
- * \version $Id$
*
* \author Daniele Basile <asterix@develer.com>
*
*
* \author Daniele Basile <asterix@develer.com>
*
@@
-44,10
+43,14
@@
#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 */