Index of incoming data in force multiple coils function
Bug #159443 reported by
Stéphane Raimbault
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
libmodbus | Status tracked in Trunk | |||||
1.2 |
Fix Released
|
Medium
|
Stéphane Raimbault | |||
Trunk |
Fix Released
|
Medium
|
Stéphane Raimbault |
Bug Description
Reported by Stefan Bisanz.
While using your libmodbus library (version 1.2.0, I think), I have found
a bug in function force_multiple_
the index of the incoming data_src array is reset to 0 every 8 coils.
Therefore, the variable should be declared outside the respective
for-loop.
Changed in libmodbus: | |
assignee: | nobody → sra |
importance: | Undecided → Medium |
milestone: | none → 1.2.1 |
To post a comment you must log in.