modbus_exporter
modbus_exporter copied to clipboard
Allow to read coils with bitOffset higher than 7
When reading 16-bit register as an array of coils the upper 8 bits are being ignored resulting to the wrong coil values read. This change fixes this.
Scratched my head for hours until I found this. It works flawlessly, thanks for this fix! I wish they would merge it asap.