X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fadc.c;h=9d478634a4cceeea37d36cc66e93991481262339;hb=41718ab2098bd5640da265c34f1ecb79a4123d39;hp=f8a06045fae45b34d010cdcf48ba9aff869a04dd;hpb=7bc315bf74dee2d7a4470753cc5a216bf49d87df;p=bertos.git diff --git a/bertos/drv/adc.c b/bertos/drv/adc.c index f8a06045..9d478634 100644 --- a/bertos/drv/adc.c +++ b/bertos/drv/adc.c @@ -32,13 +32,17 @@ * * \brief ADC driver (implementation) * - * \version $Id$ * \author Francesco Sacchi */ #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()