Fin dev Modbus.
This commit is contained in:
@@ -216,6 +216,7 @@ void CModbusSEIMgr::RegistersDatabaseUpdated(quint16 StartAddress, quint16 Lengt
|
||||
|
||||
qint16 WD = mModbusRepo->GetSingleReg(SEI_MODBUS_SEI_WATCHDOG_REG);
|
||||
WD = (WD & SEI_MODBUS_SEI_WATCHDOG_MASK);
|
||||
// qDebug("WD = %d",WD);
|
||||
if(FirstUpdate)
|
||||
{
|
||||
mSEIWatchdogState = WD;
|
||||
|
||||
Reference in New Issue
Block a user