Add handy functions for handling non recurrent timeouts.
[bertos.git] / bertos / drv / adc.c
index f8a06045fae45b34d010cdcf48ba9aff869a04dd..9d478634a4cceeea37d36cc66e93991481262339 100644 (file)
  *
  * \brief ADC driver (implementation)
  *
- * \version $Id$
  * \author Francesco Sacchi <batt@develer.com>
  */
 
 #include <drv/adc.h>
 
-#include CPU_CSOURCE(adc)
+#ifndef WIZ_AUTOGEN
+       #warning Deprecated: now you should include adc_<cpu> directly in the makefile. Remove this line and the following once done.
+       #include CPU_CSOURCE(adc)
+#else
+       #include CPU_HEADER(adc)
+#endif
 
 #include <cfg/debug.h>     // ASSERT()
 #include <cfg/macros.h>    // MIN()