X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fadc.c;h=fd2cff1c3fbe3649cdab7db93faf99c8a853ecf3;hb=f35b6066ecdeffcc8998dd566b5246bdcf43c548;hp=7fbf7f2cbb1e51fc7f3840784bb2d5699b5dc3bd;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/adc.c b/bertos/drv/adc.c index 7fbf7f2c..fd2cff1c 100644 --- a/bertos/drv/adc.c +++ b/bertos/drv/adc.c @@ -30,19 +30,20 @@ * * --> * - * \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()