Skip to content

Commit dd3d8a3

Browse files
sago35deadprogram
authored andcommitted
qtpy: fix i2c setting
1 parent bb509ec commit dd3d8a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/machine/board_qtpy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ const (
9494
// I2C on the QT Py M0.
9595
var (
9696
I2C0 = &I2C{
97-
Bus: sam.SERCOM2_I2CM,
98-
SERCOM: 2,
97+
Bus: sam.SERCOM1_I2CM,
98+
SERCOM: 1,
9999
}
100100
)
101101

0 commit comments

Comments
 (0)