mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 13:11:30 +11:00
Enable internal pullups for i2c
This commit is contained in:
parent
dbcaf1933a
commit
e00a432ed5
|
@ -88,6 +88,10 @@ impl From<DynPinMode> for ModeFields {
|
||||||
UsbAux => 9,
|
UsbAux => 9,
|
||||||
};
|
};
|
||||||
fields.inen = true;
|
fields.inen = true;
|
||||||
|
if func == I2C {
|
||||||
|
fields.pue = true;
|
||||||
|
fields.pde = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue