diff options
author | Andre Hartmann <aha_1980@gmx.de> | 2017-09-19 21:54:13 +0200 |
---|---|---|
committer | André Hartmann <aha_1980@gmx.de> | 2018-03-15 11:06:05 +0000 |
commit | ac8509d992f44de50b4818d79a9a8931fba977b2 (patch) | |
tree | 3492a4a0743a3c8a975fd93514ac7a8b0d58d26a /src/plugins/canbus/peakcan/peakcanbackend_p.h | |
parent | da6d6c5d0de869298ce2b5f35993df669dcaa572 (diff) |
PeakCAN: Add CAN FD functionality
Tested on Windows 7 with PCAN-USB Pro, both channels connected,
one side connected to PCAN-View, other side to CAN-Example.
The bitrate handling is done according the information in the
following threads:
https://www.peak-system.com/forum/viewtopic.php?f=41&t=1756
https://www.peak-system.com/forum/viewtopic.php?f=177&t=1257
[ChangeLog][QCanBus][Plugins] Added CAN FD functionality to
the PeakCAN plugin. Therefore the minimum required PCAN-Basic
version is now 4.0.0.
Task-number: QTBUG-62959
Change-Id: I76180d3e251969bfaa324708de6b7e39487b45f3
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins/canbus/peakcan/peakcanbackend_p.h')
-rw-r--r-- | src/plugins/canbus/peakcan/peakcanbackend_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/canbus/peakcan/peakcanbackend_p.h b/src/plugins/canbus/peakcan/peakcanbackend_p.h index 2dc8197..96d7ad3 100644 --- a/src/plugins/canbus/peakcan/peakcanbackend_p.h +++ b/src/plugins/canbus/peakcan/peakcanbackend_p.h @@ -82,6 +82,7 @@ public: PeakCanBackend * const q_ptr; + bool isFlexibleDatarateEnabled = false; bool isOpen = false; TPCANHandle channelIndex = PCAN_NONEBUS; QTimer *writeNotifier = nullptr; |