mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-09-11 00:59:26 +00:00
i2c iface refactor: Resolve 559
This commit is contained in:
@@ -18,5 +18,5 @@ func (d *Device) Configure() {
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
|
||||
// set to block update mode
|
||||
d.bus.WriteRegister(d.Address, LPS22HB_CTRL1_REG, []byte{0x02})
|
||||
legacy.WriteRegister(d.bus, d.Address, LPS22HB_CTRL1_REG, []byte{0x02})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user