Skip to content

Commit f7472d5

Browse files
committed
run goimports
1 parent 727781c commit f7472d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/machine/machine_rp2_i2c.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ func (i2c *I2C) tx(addr uint8, tx, rx []byte) (err error) {
292292

293293
// Base 4ms for small register pokes.
294294
// Add per-byte budget. 100us/byte is conservative at 400kHz and still ok at 100kHz for modest sizes.
295-
timeout_us := uint64(4_000) + uint64(txlen+rxlen) * 100
295+
timeout_us := uint64(4_000) + uint64(txlen+rxlen)*100
296296
// Cap so it doesn't go insane:
297297
timeout_us = min(timeout_us, 500_000)
298298

0 commit comments

Comments
 (0)