We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d26c531 commit 144bca6Copy full SHA for 144bca6
src/gpio/erased.rs
@@ -51,7 +51,7 @@ impl<MODE> PinExt for ErasedPin<MODE> {
51
impl<MODE> ErasedPin<MODE> {
52
pub(crate) fn new(port: u8, pin: u8) -> Self {
53
Self {
54
- pin_port: port << 4 | pin,
+ pin_port: (port << 4) | pin,
55
_mode: PhantomData,
56
}
57
0 commit comments