X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fstepper_arm.c;h=485a39036b00297b79e5ed78d2306275c2fcda01;hb=b2b6682c1fe2af606646349ab6eef857214bdcb0;hp=a51abf842e6b120cd59a8161fc5344303bd45036;hpb=b94d14d668b87c1e6f6ddad5b6aafd6b45a613b6;p=bertos.git diff --git a/bertos/cpu/arm/drv/stepper_arm.c b/bertos/cpu/arm/drv/stepper_arm.c index a51abf84..485a3903 100644 --- a/bertos/cpu/arm/drv/stepper_arm.c +++ b/bertos/cpu/arm/drv/stepper_arm.c @@ -36,16 +36,19 @@ * * \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 */ +#ifndef WIZ_AUTOGEN + #warning This file is deprecated, you should use stepper_at91.c -#include + #include -#if CPU_ARM_AT91 - #include "stepper_at91.c" -/*#elif Add other ARM families here */ -#else - #error Unknown CPU -#endif + #if CPU_ARM_AT91 + #include "stepper_at91.c" + /*#elif Add other ARM families here */ + #else + #error Unknown CPU + #endif +#endif /* WIZ_AUTOGEN */ \ No newline at end of file