Skip to content

Commit f05899c

Browse files
committed
Fix alternative function mapping for I2C on PA9/10
1 parent fb1f6a6 commit f05899c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/i2c.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,12 +493,12 @@ i2c!(
493493
i2c1rst,
494494
sda: [
495495
(PB7<Output<OpenDrain>>, AltMode::AF1),
496-
(PA10<Output<OpenDrain>>, AltMode::AF1),
496+
(PA10<Output<OpenDrain>>, AltMode::AF6),
497497
(PA13<Output<OpenDrain>>, AltMode::AF3),
498498
],
499499
scl: [
500500
(PB6<Output<OpenDrain>>, AltMode::AF1),
501-
(PA9<Output<OpenDrain>>, AltMode::AF1),
501+
(PA9<Output<OpenDrain>>, AltMode::AF6),
502502
(PA4<Output<OpenDrain>>, AltMode::AF3),
503503
],
504504
);

0 commit comments

Comments
 (0)