Closed patryk3211 closed 9 months ago
The PWM configuration code had hard-coded usage of the PWM0_ENREG and PWM0_APBEN, it now uses the __indirect__ macro to select the correct registers depending on the specified PWM pin.
PWM0_ENREG
PWM0_APBEN
__indirect__
Spot on. Thanks
The PWM configuration code had hard-coded usage of the
PWM0_ENREG
andPWM0_APBEN
, it now uses the__indirect__
macro to select the correct registers depending on the specified PWM pin.