Skip to content

Commit 525fffc

Browse files
committed
cleans
1 parent c081392 commit 525fffc

File tree

1 file changed

+3
-88
lines changed

1 file changed

+3
-88
lines changed

src/gpio/alt.rs

Lines changed: 3 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -725,36 +725,7 @@ pub mod spi4 {
725725

726726
pin! {
727727
<Sck> for no:NoPin, [
728-
#[cfg(any(
729-
feature = "stm32f401",
730-
feature = "stm32f411",
731-
feature = "stm32f412",
732-
feature = "stm32f413",
733-
feature = "stm32f423",
734-
feature = "stm32f427",
735-
feature = "stm32f429",
736-
feature = "stm32f437",
737-
feature = "stm32f439",
738-
feature = "stm32f446",
739-
feature = "stm32f469",
740-
feature = "stm32f479"
741-
))]
742728
PE2<5>,
743-
744-
#[cfg(any(
745-
feature = "stm32f401",
746-
feature = "stm32f411",
747-
feature = "stm32f412",
748-
feature = "stm32f413",
749-
feature = "stm32f423",
750-
feature = "stm32f427",
751-
feature = "stm32f429",
752-
feature = "stm32f437",
753-
feature = "stm32f439",
754-
feature = "stm32f446",
755-
feature = "stm32f469",
756-
feature = "stm32f479"
757-
))]
758729
PE12<5>,
759730

760731
#[cfg(any(
@@ -770,36 +741,7 @@ pub mod spi4 {
770741
],
771742

772743
<Miso> for no:NoPin, [
773-
#[cfg(any(
774-
feature = "stm32f401",
775-
feature = "stm32f411",
776-
feature = "stm32f412",
777-
feature = "stm32f413",
778-
feature = "stm32f423",
779-
feature = "stm32f427",
780-
feature = "stm32f429",
781-
feature = "stm32f437",
782-
feature = "stm32f439",
783-
feature = "stm32f446",
784-
feature = "stm32f469",
785-
feature = "stm32f479"
786-
))]
787744
PE5<5>,
788-
789-
#[cfg(any(
790-
feature = "stm32f401",
791-
feature = "stm32f411",
792-
feature = "stm32f412",
793-
feature = "stm32f413",
794-
feature = "stm32f423",
795-
feature = "stm32f427",
796-
feature = "stm32f429",
797-
feature = "stm32f437",
798-
feature = "stm32f439",
799-
feature = "stm32f446",
800-
feature = "stm32f469",
801-
feature = "stm32f479"
802-
))]
803745
PE13<5>,
804746

805747
#[cfg(any(
@@ -818,36 +760,7 @@ pub mod spi4 {
818760
],
819761

820762
<Mosi> for no:NoPin, [
821-
#[cfg(any(
822-
feature = "stm32f401",
823-
feature = "stm32f411",
824-
feature = "stm32f412",
825-
feature = "stm32f413",
826-
feature = "stm32f423",
827-
feature = "stm32f427",
828-
feature = "stm32f429",
829-
feature = "stm32f437",
830-
feature = "stm32f439",
831-
feature = "stm32f446",
832-
feature = "stm32f469",
833-
feature = "stm32f479"
834-
))]
835763
PE6<5>,
836-
837-
#[cfg(any(
838-
feature = "stm32f401",
839-
feature = "stm32f411",
840-
feature = "stm32f412",
841-
feature = "stm32f413",
842-
feature = "stm32f423",
843-
feature = "stm32f427",
844-
feature = "stm32f429",
845-
feature = "stm32f437",
846-
feature = "stm32f439",
847-
feature = "stm32f446",
848-
feature = "stm32f469",
849-
feature = "stm32f479"
850-
))]
851764
PE14<5>,
852765

853766
#[cfg(any(
@@ -1262,8 +1175,8 @@ pub mod i2s2 {
12621175
feature = "stm32f413",
12631176
feature = "stm32f423"
12641177
))]
1265-
12661178
PA3<5>,
1179+
12671180
#[cfg(any(
12681181
feature = "stm32f411",
12691182
feature = "stm32f412",
@@ -1389,13 +1302,15 @@ pub mod i2s4 {
13891302
feature = "stm32f423"
13901303
))]
13911304
PB12<6>,
1305+
13921306
#[cfg(any(
13931307
feature = "stm32f411",
13941308
feature = "stm32f412",
13951309
feature = "stm32f413",
13961310
feature = "stm32f423"
13971311
))]
13981312
PE4<5>,
1313+
13991314
#[cfg(any(
14001315
feature = "stm32f411",
14011316
feature = "stm32f412",

0 commit comments

Comments
 (0)