* @brief Sets the data bits index */
| 1123 | * @brief Sets the data bits index |
| 1124 | */ |
| 1125 | void IO::Drivers::Modbus::setDataBitsIndex(const quint8 index) |
| 1126 | { |
| 1127 | if (index < 4 && m_dataBitsIndex != index) { |
| 1128 | m_dataBitsIndex = index; |
| 1129 | m_settings.setValue("ModbusDriver/dataBitsIndex", index); |
| 1130 | Q_EMIT dataBitsIndexChanged(); |
| 1131 | } |
| 1132 | } |
| 1133 | |
| 1134 | /** |
| 1135 | * @brief Sets the stop bits index |
no outgoing calls
no test coverage detected