Skip to content

Commit

Permalink
Fix formatting in pin_sealed.rs
Browse files Browse the repository at this point in the history
Co-authored-by: 9names <[email protected]>
  • Loading branch information
jannic and 9names authored May 27, 2024
1 parent b02c28f commit 6ec57de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rp2040-hal/src/gpio/pin/pin_sealed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ macro_rules! accessor_fns {
unsafe {
let sio = &*$crate::pac::SIO::PTR;
match pin.bank {
DynBankId::Bank0 =>sio.[<gpio_ $reg:lower>](),
DynBankId::Bank0 => sio.[<gpio_ $reg:lower>](),
DynBankId::Qspi => core::mem::transmute::<&$crate::pac::sio::[<GPIO_HI_ $reg:upper>],&$crate::pac::sio::[<GPIO_ $reg:upper>]>(sio.[<gpio_hi_ $reg:lower>]()),
}
}
Expand Down

0 comments on commit 6ec57de

Please sign in to comment.