X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Ftwi_arm.c;h=efbc34a10f542582c25c958f80e4af2dfe484b6d;hb=HEAD;hp=5a3cbe1ca2125cdf08f1957cdb554e51aabfba95;hpb=b94d14d668b87c1e6f6ddad5b6aafd6b45a613b6;p=bertos.git diff --git a/bertos/cpu/arm/drv/twi_arm.c b/bertos/cpu/arm/drv/twi_arm.c index 5a3cbe1c..efbc34a1 100644 --- a/bertos/cpu/arm/drv/twi_arm.c +++ b/bertos/cpu/arm/drv/twi_arm.c @@ -32,21 +32,24 @@ * * \brief Low-level TWI module for ARM (inplementation). * - * \version $Id$ * * \author Daniele Basile * - * This module is automatically included so no need to include + * 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 twi_at91.c -#if CPU_ARM_AT91 - #include "twi_at91.c" -/*#elif Add other ARM families here */ -#else - #error Unknown CPU -#endif + #include + + #if CPU_ARM_AT91 + #include "twi_at91.c" + /*#elif Add other ARM families here */ + #else + #error Unknown CPU + #endif +#endif /* WIZ_AUTOGEN */