mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
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 {
|
||||
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));
|
||||
|
Loading…
Reference in New Issue
Block a user