X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fcfg%2Fcfg_pwm.h;h=68d62837c8ee73db35a3bf91e60acc068f465558;hb=a5b1dc3c2884ee2160c6fee43e4a34b83453b87f;hp=595189e64433402dfc0c33c2879385dee3f45351;hpb=b46f64914c62fbb0297728280478681659469654;p=bertos.git diff --git a/bertos/cfg/cfg_pwm.h b/bertos/cfg/cfg_pwm.h index 595189e6..68d62837 100644 --- a/bertos/cfg/cfg_pwm.h +++ b/bertos/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 */