Skip to content

Commit 65bf1e2

Browse files
sago35deadprogram
authored andcommitted
machine/samd51: fix i2cTimeout was decreasing due to cache activation
1 parent ee886e8 commit 65bf1e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/machine/machine_atsamd51.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ const (
11621162
wireCmdStop = 3
11631163
)
11641164

1165-
const i2cTimeout = 1000
1165+
const i2cTimeout = 28000 // about 210us
11661166

11671167
// Configure is intended to setup the I2C interface.
11681168
func (i2c *I2C) Configure(config I2CConfig) error {

0 commit comments

Comments
 (0)