Skip to content

Commit

Permalink
fix-tests: migrated legacy I2C
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrichner-oviva committed Oct 22, 2023
1 parent 7c96387 commit 070efa1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sh1106/sh1106.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ func (d *Device) Tx(data []byte, isCommand bool) {
func (b *I2CBus) tx(data []byte, isCommand bool) {
if isCommand {
legacy.WriteRegister(b.wire, uint8(b.Address), 0x00, data)
b.wire.WriteRegister(uint8(b.Address), 0x00, data)
} else {
legacy.WriteRegister(b.wire, uint8(b.Address), 0x40, data)
}
Expand Down

0 comments on commit 070efa1

Please sign in to comment.