diff --git a/rp2040-hal/src/gpio/reg.rs b/rp2040-hal/src/gpio/reg.rs index aae57d9..8508b50 100644 --- a/rp2040-hal/src/gpio/reg.rs +++ b/rp2040-hal/src/gpio/reg.rs @@ -88,6 +88,10 @@ impl From for ModeFields { UsbAux => 9, }; fields.inen = true; + if func == I2C { + fields.pue = true; + fields.pde = false; + } } };