diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2019-04-27 22:54:10 +0200 |
---|---|---|
committer | André Hartmann <aha_1980@gmx.de> | 2019-04-29 09:04:33 +0000 |
commit | a043d8a6de68c27078fad6a3fe1afffcc8639402 (patch) | |
tree | be3ebb22d19a3ffe3d64818c95f19b3559dc771d /src/plugins/canbus/peakcan | |
parent | c970ba0b591ccb04eb70801e9e386a017b02064b (diff) |
PeakCAN: Improve documentation and fix a typo
Change-Id: I80ce9909774c24834060dd37a5201ec413e37647
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins/canbus/peakcan')
-rw-r--r-- | src/plugins/canbus/peakcan/peakcanbackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/canbus/peakcan/peakcanbackend.cpp b/src/plugins/canbus/peakcan/peakcanbackend.cpp index 80c783c..2f4097e 100644 --- a/src/plugins/canbus/peakcan/peakcanbackend.cpp +++ b/src/plugins/canbus/peakcan/peakcanbackend.cpp @@ -737,8 +737,8 @@ bool PeakCanBackend::open() if (Q_UNLIKELY(!d->open())) return false; - // apply all stored configurations except bitrate, because - // the bitrate can not be applied after opening of device + // Apply all stored configurations except bitrate, because + // the bitrate cannot be changed after opening the device const auto keys = configurationKeys(); for (int key : keys) { if (key == QCanBusDevice::BitRateKey || key == QCanBusDevice::DataBitRateKey) |