diff --git a/sh1106/sh1106.go b/sh1106/sh1106.go index 493354f68..bff519668 100644 --- a/sh1106/sh1106.go +++ b/sh1106/sh1106.go @@ -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) }