X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fpwm_arm.c;h=690122f9ea5a840b88e8643f119bb5f181f5b6bd;hb=9ef85961c4d82f210fad41b2573e73056fce1369;hp=77a6a68be6c989b6a932f04272b5ff4a31973157;hpb=b2b6682c1fe2af606646349ab6eef857214bdcb0;p=bertos.git diff --git a/bertos/cpu/arm/drv/pwm_arm.c b/bertos/cpu/arm/drv/pwm_arm.c index 77a6a68b..690122f9 100644 --- a/bertos/cpu/arm/drv/pwm_arm.c +++ b/bertos/cpu/arm/drv/pwm_arm.c @@ -44,13 +44,10 @@ #ifndef WIZ_AUTOGEN #warning This file is deprecated, you should use pwm_at91.c +#if CPU_ARM_AT91 + #include "pwm_at91.c" +/*#elif Add other ARM families here */ +#else + #error Unknown CPU +#endif - #include - - #if CPU_ARM_AT91 - #include "pwm_at91.c" - /*#elif Add other ARM families here */ - #else - #error Unknown CPU - #endif -#endif /* WIZ_AUTOGEN */ \ No newline at end of file