mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 03:24:00 +00:00
machine/samd51: fix i2cTimeout was decreasing due to cache activation
This commit is contained in:
@@ -1162,7 +1162,7 @@ const (
|
|||||||
wireCmdStop = 3
|
wireCmdStop = 3
|
||||||
)
|
)
|
||||||
|
|
||||||
const i2cTimeout = 1000
|
const i2cTimeout = 28000 // about 210us
|
||||||
|
|
||||||
// Configure is intended to setup the I2C interface.
|
// Configure is intended to setup the I2C interface.
|
||||||
func (i2c *I2C) Configure(config I2CConfig) error {
|
func (i2c *I2C) Configure(config I2CConfig) error {
|
||||||
|
|||||||
Reference in New Issue
Block a user