X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fadc.c;h=9d478634a4cceeea37d36cc66e93991481262339;hb=15810459b8f5fb09b12cef6f8e4d4e64d167087b;hp=7fbf7f2cbb1e51fc7f3840784bb2d5699b5dc3bd;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/adc.c b/bertos/drv/adc.c index 7fbf7f2c..9d478634 100644 --- a/bertos/drv/adc.c +++ b/bertos/drv/adc.c @@ -30,19 +30,19 @@ * * --> * - * \version $Id$ - * * \brief ADC driver (implementation) * - * \version $Id$ * \author Francesco Sacchi */ - #include -#include -#include CPU_CSOURCE(adc) +#ifndef WIZ_AUTOGEN + #warning Deprecated: now you should include adc_ directly in the makefile. Remove this line and the following once done. + #include CPU_CSOURCE(adc) +#else + #include CPU_HEADER(adc) +#endif #include // ASSERT() #include // MIN()