fix requested changes by @aykevl

This commit is contained in:
soypat
2023-05-31 22:08:39 -03:00
committed by Ron Evans
parent 64029612e0
commit 31538f1b2f
6 changed files with 24 additions and 16 deletions
+2 -2
View File
@@ -5,10 +5,10 @@ const MaxRegisters = 255
type I2CDevice interface {
// ReadRegister implements I2C.ReadRegister.
ReadRegister(r uint8, buf []byte) error
readRegister(r uint8, buf []byte) error
// WriteRegister implements I2C.WriteRegister.
WriteRegister(r uint8, buf []byte) error
writeRegister(r uint8, buf []byte) error
// Tx implements I2C.Tx
Tx(w, r []byte) error