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 ) ...@@ -933,7 +933,6 @@ bool MBExchange::pollRTU( RTUDevice* dev, RegMap::iterator& it )
} }
it--; it--;
} }
break; break;
......
...@@ -309,7 +309,7 @@ class MBExchange: ...@@ -309,7 +309,7 @@ class MBExchange:
UniSetTypes::ObjectId sidExchangeMode; /*!< иденидентификатор для датчика режима работы */ UniSetTypes::ObjectId sidExchangeMode; /*!< иденидентификатор для датчика режима работы */
IOController::IOStateList::iterator itExchangeMode; IOController::IOStateList::iterator itExchangeMode;
long exchangeMode; /*!< режим работы см. ExchangeMode */ long exchangeMode = {emNone}; /*!< режим работы см. ExchangeMode */
std::atomic_bool activated; std::atomic_bool activated;
int activateTimeout; 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