diff --git a/rp2040-hal/src/gpio/reg.rs b/rp2040-hal/src/gpio/reg.rs index 060523c..cff68f3 100644 --- a/rp2040-hal/src/gpio/reg.rs +++ b/rp2040-hal/src/gpio/reg.rs @@ -38,11 +38,9 @@ impl From for ModeFields { Floating => (), PullDown => { fields.pde = true; - fields.pue = false; } PullUp => { fields.pue = true; - fields.pde = false; } } } @@ -56,11 +54,9 @@ impl From for ModeFields { Floating => (), PullDown => { fields.pde = true; - fields.pue = false; } PullUp => { fields.pue = true; - fields.pde = false; } } } @@ -94,7 +90,6 @@ impl From for ModeFields { fields.inen = true; if func == I2C { fields.pue = true; - fields.pde = false; } } };