Skip to content

Commit

Permalink
doc: fixed mixed up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gavincabbage committed Aug 30, 2015
1 parent db5c9ab commit 48c2635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions i2c.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ package embd
// I2CBus interface is used to interact with the I2C bus.
type I2CBus interface {
// ReadByte reads a byte from the given address.
ReadBytes(addr byte, num int) (value []byte, err error)
// ReadByte reads a slice of bytes from the given address.
ReadByte(addr byte) (value byte, err error)
// ReadBytes reads a slice of bytes from the given address.
ReadBytes(addr byte, num int) (value []byte, err error)
// WriteByte writes a byte to the given address.
WriteByte(addr, value byte) error
// WriteBytes writes a slice bytes to the given address.
Expand Down

0 comments on commit 48c2635

Please sign in to comment.