StefanBruens / ESP8266_new_pwm

This is a drop-in replacement for the ESP8266 SDK PWM
GNU General Public License v2.0
196 stars 46 forks source link

Make configuration easier by including user_config.h #13

Open thierer opened 7 years ago

thierer commented 7 years ago

By including user_config.h at the top of the file, it's possible to make configuration changes while using the unmodified code from the repository.

To make that also possible for both PWM_DEBUG and PWM_USE_NMI, include them in ifndef like already done for SDK_PWM_PERIOD_COMPAT_MODE and PWM_MAX_CHANNELS.