diff --git a/hal/CHANGELOG.md b/hal/CHANGELOG.md index 7bfedfe003b..8876ed0897a 100644 --- a/hal/CHANGELOG.md +++ b/hal/CHANGELOG.md @@ -8,6 +8,7 @@ - Fix warnings for thumbv7 targets - Update README.md - moves some content to wiki - Remove pin `pa28` from the `d21el` target (#717) +- Fix a pwm configuration for the `tc4` on `D5x` targets (#720) # v0.16.0 diff --git a/hal/src/thumbv7em/pwm.rs b/hal/src/thumbv7em/pwm.rs index 6c617f799b5..b6fafd595e3 100644 --- a/hal/src/thumbv7em/pwm.rs +++ b/hal/src/thumbv7em/pwm.rs @@ -100,8 +100,8 @@ impl_tc_pinout!(TC3Pinout: [ #[cfg(feature = "has-tc4")] impl_tc_pinout!(TC4Pinout: [ (Pa23, PA23), - #[cfg(feature = "has-pb00")] - (Pb0, PB09), + #[cfg(feature = "pins-48")] + (Pb9, PB09), #[cfg(feature = "pins-64")] (Pb13, PB13) ]);