Skip to content

Commit f384e2d

Browse files
thomasrichner-ovivadeadprogram
authored andcommitted
fix-tests: migrated legacy I2C
1 parent 7c96387 commit f384e2d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sh1106/sh1106.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ func (d *Device) Tx(data []byte, isCommand bool) {
285285
func (b *I2CBus) tx(data []byte, isCommand bool) {
286286
if isCommand {
287287
legacy.WriteRegister(b.wire, uint8(b.Address), 0x00, data)
288-
b.wire.WriteRegister(uint8(b.Address), 0x00, data)
289288
} else {
290289
legacy.WriteRegister(b.wire, uint8(b.Address), 0x40, data)
291290
}

0 commit comments

Comments
 (0)