X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fpwm_arm.c;h=975d8db7baa60d2f925c21636ce43d9e5d8f28bb;hb=b1c40f913e9ce4ec662f461aaff120be3aeba125;hp=690122f9ea5a840b88e8643f119bb5f181f5b6bd;hpb=89bd702e6979ee84ace7278175c56c2f514aa961;p=bertos.git diff --git a/bertos/cpu/arm/drv/pwm_arm.c b/bertos/cpu/arm/drv/pwm_arm.c index 690122f9..975d8db7 100644 --- a/bertos/cpu/arm/drv/pwm_arm.c +++ b/bertos/cpu/arm/drv/pwm_arm.c @@ -44,10 +44,14 @@ #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 */