Skip to content

Commit d3aef69

Browse files
author
Ананьев Александр
committed
Merge remote-tracking branch 'origin/dev'
2 parents 54228a5 + fa8eb39 commit d3aef69

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

omodsim/modbusmultiserver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ QModbusDataUnitMap ModbusMultiServer::createDataUnitMap()
8989
endAddress = qMax<quint16>(endAddress, unit.startAddress() + unit.valueCount());
9090
}
9191

92-
const quint16 length = endAddress - startAddress + 1;
92+
const quint16 length = endAddress - startAddress;
9393
if(length > 0) modbusMap.insert(type, {type, startAddress, length});
9494
}
9595
return modbusMap;

omodsim/omodsim.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CONFIG += c++17
44
CONFIG -= debug_and_release
55
CONFIG -= debug_and_release_target
66

7-
VERSION = 1.0.0
7+
VERSION = 1.0.1
88

99
QMAKE_TARGET_PRODUCT = "Open ModSim"
1010
QMAKE_TARGET_DESCRIPTION = "An Open Source Modbus Slave (Server) Utility"

0 commit comments

Comments
 (0)