mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 08:23:41 +00:00
qtpy: fix i2c setting
This commit is contained in:
@@ -94,8 +94,8 @@ const (
|
|||||||
// I2C on the QT Py M0.
|
// I2C on the QT Py M0.
|
||||||
var (
|
var (
|
||||||
I2C0 = &I2C{
|
I2C0 = &I2C{
|
||||||
Bus: sam.SERCOM2_I2CM,
|
Bus: sam.SERCOM1_I2CM,
|
||||||
SERCOM: 2,
|
SERCOM: 1,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user