Merge pull request #3371 from CBJamo/rp23_pwm_b_pin
rp23: Disable pad isolation on PWM A pins.
This commit is contained in:
commit
af6fbb0ee1
@ -106,6 +106,10 @@ impl<'d> Pwm<'d> {
|
|||||||
|
|
||||||
if let Some(pin) = &a {
|
if let Some(pin) = &a {
|
||||||
pin.gpio().ctrl().write(|w| w.set_funcsel(4));
|
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 {
|
if let Some(pin) = &b {
|
||||||
pin.gpio().ctrl().write(|w| w.set_funcsel(4));
|
pin.gpio().ctrl().write(|w| w.set_funcsel(4));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user