Merge pull request #3371 from CBJamo/rp23_pwm_b_pin

rp23: Disable pad isolation on PWM A pins.
This commit is contained in:
Dario Nieuwenhuis 2024-09-24 23:04:56 +00:00 committed by GitHub
commit af6fbb0ee1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -106,6 +106,10 @@ impl<'d> Pwm<'d> {
if let Some(pin) = &a {
pin.gpio().ctrl().write(|w| w.set_funcsel(4));
#[cfg(feature = "_rp235x")]
pin.pad_ctrl().modify(|w| {
w.set_iso(false);
});
}
if let Some(pin) = &b {
pin.gpio().ctrl().write(|w| w.set_funcsel(4));