X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Fexamples%2Fat91sam7x-ek_sd_fat%2Fcfg%2Fcfg_pwm.h;h=68d62837c8ee73db35a3bf91e60acc068f465558;hb=0428a7371bf32926b5288cebb7b3066883e21169;hp=595189e64433402dfc0c33c2879385dee3f45351;hpb=67813e9ec40a4189348aa829f93a188c017a4c87;p=bertos.git diff --git a/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_pwm.h b/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_pwm.h index 595189e6..68d62837 100644 --- a/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_pwm.h +++ b/boards/at91sam7x-ek/examples/at91sam7x-ek_sd_fat/cfg/cfg_pwm.h @@ -53,4 +53,12 @@ */ #define PWM_LOG_FORMAT LOG_FMT_VERBOSE +/** + * Enable the OLD pwm API. + * Not recommended for new projects. + * + * $WIZ$ type = "boolean" + */ +#define CFG_PWM_ENABLE_OLD_API 1 + #endif /* CFG_PWM_H */