mirror of
https://github.com/kidoman/embd
synced 2025-07-03 20:07:40 +02:00
build: fixed broken tests
This commit is contained in:
parent
2e6bd46354
commit
afa49bb2bc
2 changed files with 2 additions and 1 deletions
2
i2c.go
2
i2c.go
|
@ -6,7 +6,7 @@ package embd
|
|||
type I2CBus interface {
|
||||
// ReadByte reads a byte from the given address.
|
||||
ReadBytes(addr byte, num int) (value []byte, err error)
|
||||
// ReadByte reads a byte from the given address.
|
||||
// ReadByte reads a slice of bytes from the given address.
|
||||
ReadByte(addr byte) (value byte, err error)
|
||||
// WriteByte writes a byte to the given address.
|
||||
WriteByte(addr, value byte) error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue