* @brief Sets the bitrate for the CAN bus. */
| 567 | * @brief Sets the bitrate for the CAN bus. |
| 568 | */ |
| 569 | void IO::Drivers::CANBus::setBitrate(const quint32 bitrate) |
| 570 | { |
| 571 | if (m_bitrate == bitrate) |
| 572 | return; |
| 573 | |
| 574 | m_bitrate = bitrate; |
| 575 | m_settings.setValue("CanBusDriver/bitrate", bitrate); |
| 576 | Q_EMIT bitrateChanged(); |
| 577 | } |
| 578 | |
| 579 | /** |
| 580 | * @brief Sets the plugin index and refreshes available interfaces. |
no outgoing calls
no test coverage detected