We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae09747 commit c92db83Copy full SHA for c92db83
1 file changed
testslave/testslavemodbus.cpp
@@ -42,7 +42,7 @@ bool TestSlaveModbus::readData(QModbusDataUnit *newData) const
42
return false;
43
}
44
45
- newData->setValue(regAddress, _pTestSlaveData->registerValue(regAddress));
+ newData->setValue(idx, _pTestSlaveData->registerValue(regAddress));
46
47
48
return true;
0 commit comments