mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-03 06:27:47 +00:00
tester: correct interface definition for I2C Tx function
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ func (bus *I2CBus) WriteRegister(addr uint8, r uint8, buf []byte) error {
|
||||
}
|
||||
|
||||
// Tx implements I2C.Tx.
|
||||
func (bus *I2CBus) Tx(addr uint16, input, output []byte) error {
|
||||
func (bus *I2CBus) Tx(addr uint16, w, r []byte) error {
|
||||
// TODO: implement this
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user