google / cyanobyte

Machine-readable datasheets
https://cyanobyte.dev
Apache License 2.0
79 stars 31 forks source link

If a register length is '0', do not expect to be able to write to it with any data #181

Closed Fleker closed 4 years ago

Fleker commented 4 years ago

In the case of the BH1750FVI, it does not send both data and address, only data. As such, this already works for the write operation, but the input variable is never used.