Add new lines between SIO methods

The commit adds new lines between the SIO functions which at least for
me improves readability and is consistent with the other methods in the
trait.
This commit is contained in:
Daniel Bevenius 2022-05-19 13:45:40 +02:00
parent d0fe9af458
commit 4b0dca1802

View File

@ -190,12 +190,15 @@ pub(crate) mod sealed {
}; };
block.gpio(self.pin() as _) block.gpio(self.pin() as _)
} }
fn sio_out(&self) -> pac::sio::Gpio { fn sio_out(&self) -> pac::sio::Gpio {
SIO.gpio_out(self.bank() as _) SIO.gpio_out(self.bank() as _)
} }
fn sio_oe(&self) -> pac::sio::Gpio { fn sio_oe(&self) -> pac::sio::Gpio {
SIO.gpio_oe(self.bank() as _) SIO.gpio_oe(self.bank() as _)
} }
fn sio_in(&self) -> Reg<u32, RW> { fn sio_in(&self) -> Reg<u32, RW> {
SIO.gpio_in(self.bank() as _) SIO.gpio_in(self.bank() as _)
} }