@@ -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