X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fadc.c;fp=bertos%2Fdrv%2Fadc.c;h=fd2cff1c3fbe3649cdab7db93faf99c8a853ecf3;hb=055132222c4380c116e15f66a9ab7e1f561d329e;hp=f8a06045fae45b34d010cdcf48ba9aff869a04dd;hpb=83e8cfaaf519136e906463151f91ea6bac409973;p=bertos.git diff --git a/bertos/drv/adc.c b/bertos/drv/adc.c index f8a06045..fd2cff1c 100644 --- a/bertos/drv/adc.c +++ b/bertos/drv/adc.c @@ -38,7 +38,12 @@ #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()