Commit d4e47234 authored by Pavel Vainerman's avatar Pavel Vainerman

(ModbusMaster): подправил инициализацию exchangeMode

parent 55343f6e
......@@ -933,7 +933,6 @@ bool MBExchange::pollRTU( RTUDevice* dev, RegMap::iterator& it )
}
it--;
}
break;
......
......@@ -309,7 +309,7 @@ class MBExchange:
UniSetTypes::ObjectId sidExchangeMode; /*!< иденидентификатор для датчика режима работы */
IOController::IOStateList::iterator itExchangeMode;
long exchangeMode; /*!< режим работы см. ExchangeMode */
long exchangeMode = {emNone}; /*!< режим работы см. ExchangeMode */
std::atomic_bool activated;
int activateTimeout;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment