X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fadc_arm.c;h=3b7463d94b05c686570d5fbdb7651c5b6d41366f;hb=HEAD;hp=788785515ff9bc11f73c6de5fe0c3dcf635268cb;hpb=211f1718bc7a3553323733eea821a477decf0cc7;p=bertos.git diff --git a/bertos/cpu/arm/drv/adc_arm.c b/bertos/cpu/arm/drv/adc_arm.c index 78878551..3b7463d9 100644 --- a/bertos/cpu/arm/drv/adc_arm.c +++ b/bertos/cpu/arm/drv/adc_arm.c @@ -32,18 +32,23 @@ * * \brief Low-level ADC module for ARM (inplementation). * - * - * \version $Id$ - * * \author Daniele Basile * + * This module is automatically included so no need to include + * in test list. + * notest: arm + * */ -#include +#ifndef WIZ_AUTOGEN + #warning This file is deprecated, you should use adc_at91.c + + #include -#if CPU_ARM_AT91 - #include "adc_at91.c" -/*#elif Add other ARM families here */ -#else - #error Unknown CPU -#endif + #if CPU_ARM_AT91 + #include "adc_at91.c" + /*#elif Add other ARM families here */ + #else + #error Unknown CPU + #endif +#endif /* WIZ_AUTOGEN */