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