Skip to content

Commit e06ef68

Browse files
committed
Fix gpio pin numbers
1 parent a9a20c0 commit e06ef68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gpio.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,6 @@ gpio!(GPIOE, gpioe, iopeen, PE, [
557557
gpio!(GPIOH, gpioh, iophen, PH, [
558558
PH0: (ph0, 0, Analog),
559559
PH1: (ph1, 1, Analog),
560-
PH9: (ph9, 2, Analog),
561-
PH10: (ph10, 2, Analog),
560+
PH9: (ph9, 9, Analog),
561+
PH10: (ph10, 10, Analog),
562562
]);

0 commit comments

Comments
 (0)