Skip to content

Commit f91610f

Browse files
committed
Remove tab indention for spaces
1 parent f11894e commit f91610f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/gpio.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ macro_rules! gpio {
542542
(*$GPIOX::ptr()).moder.modify(|r, w| {
543543
w.bits((r.bits() & !(0b11 << offset)) | (0b00 << offset))
544544
}
545-
)};
545+
)};
546546

547547
$PXi { _mode: PhantomData }
548548
}
@@ -598,7 +598,7 @@ macro_rules! gpio {
598598
(*$GPIOX::ptr()).moder.modify(|r, w| {
599599
w.bits((r.bits() & !(0b11 << offset)) | (0b11 << offset))
600600
}
601-
)};
601+
)};
602602

603603
$PXi { _mode: PhantomData }
604604
}
@@ -681,13 +681,13 @@ macro_rules! gpio {
681681
/// This is useful when you want to collect the
682682
/// pins into an array where you need all the
683683
/// elements to have the same type
684-
pub fn erase(&self) -> ErasedPin<MODE> {
685-
ErasedPin::new($extigpionr, $i)
686-
// ErasedPin {
687-
// pin_port: $extigpionr << 4 | $i,
688-
// _mode: self._mode,
689-
// }
690-
}
684+
pub fn erase(&self) -> ErasedPin<MODE> {
685+
ErasedPin::new($extigpionr, $i)
686+
// ErasedPin {
687+
// pin_port: $extigpionr << 4 | $i,
688+
// _mode: self._mode,
689+
// }
690+
}
691691

692692
/// Erases the pin number from the type
693693
///
@@ -781,7 +781,7 @@ macro_rules! gpio {
781781
}
782782

783783
impl IoPin<Self, Self>
784-
for $PXi<Output<OpenDrain>>
784+
for $PXi<Output<OpenDrain>>
785785
{
786786
type Error = Never;
787787
fn into_input_pin(self) -> Result<Self, Never> {

0 commit comments

Comments
 (0)