projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add comment
[bertos.git]
/
bertos
/
cpu
/
arm
/
drv
/
twi_arm.c
diff --git
a/bertos/cpu/arm/drv/twi_arm.c
b/bertos/cpu/arm/drv/twi_arm.c
index 5a3cbe1ca2125cdf08f1957cdb554e51aabfba95..8395f392cf0b55ef9edaa6123b674425a671ce9c 100644
(file)
--- a/
bertos/cpu/arm/drv/twi_arm.c
+++ b/
bertos/cpu/arm/drv/twi_arm.c
@@
-36,17
+36,21
@@
*
* \author Daniele Basile <asterix@develer.com>
*
*
* \author Daniele Basile <asterix@develer.com>
*
- * This module is automatically included so no need to include
+ * This module is automatically included so no need to include
* in test list.
* notest: arm
*
*/
* in test list.
* notest: arm
*
*/
-#include <cpu/detect.h>
+#ifndef WIZ_AUTOGEN
+ #warning This file is deprecated, you should use twi_at91.c
-#if CPU_ARM_AT91
- #include "twi_at91.c"
-/*#elif Add other ARM families here */
-#else
- #error Unknown CPU
-#endif
+ #include <cpu/detect.h>
+
+ #if CPU_ARM_AT91
+ #include "twi_at91.c"
+ /*#elif Add other ARM families here */
+ #else
+ #error Unknown CPU
+ #endif
+#endif /* WIZ_AUTOGEN */