From 4b0dca18023b53a068a4f96e5fd434c24ce33e5e Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 19 May 2022 13:45:40 +0200 Subject: [PATCH] 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. --- embassy-rp/src/gpio.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/embassy-rp/src/gpio.rs b/embassy-rp/src/gpio.rs index 8f1cca27..5fdb2b0c 100644 --- a/embassy-rp/src/gpio.rs +++ b/embassy-rp/src/gpio.rs @@ -190,12 +190,15 @@ pub(crate) mod sealed { }; block.gpio(self.pin() as _) } + fn sio_out(&self) -> pac::sio::Gpio { SIO.gpio_out(self.bank() as _) } + fn sio_oe(&self) -> pac::sio::Gpio { SIO.gpio_oe(self.bank() as _) } + fn sio_in(&self) -> Reg { SIO.gpio_in(self.bank() as _) }