summaryrefslogtreecommitdiffstats
path: root/src/plugins/canbus/systeccan/systeccanbackend_p.h
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2018-10-02 11:41:16 +0200
committerAndré Hartmann <aha_1980@gmx.de>2019-05-02 11:15:05 +0000
commita88ecda86028228174a1ec4e53df235ebac33dcc (patch)
tree9a39dfe2e0e85310c0450fef9be15120f9dd7ba1 /src/plugins/canbus/systeccan/systeccanbackend_p.h
parent4a7f051247b05e1e298ffabc00e8ce3dc3e216a0 (diff)
Add QCanBusDevice::resetController() for CAN controller reset
Currently missing: * VectorCAN: no information in the documentation found * PassthroughCAN: no documentation [ChangeLog][QCanBus][QCanBusDevice] Added the function QCanBusDevice::resetController() to reset a CAN controller from bus off state, as far as supported by the various plugins. Fixes: QTBUG-54943 Change-Id: Ic098054b012726c0c69970c0ae84f434c2b3964a Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/plugins/canbus/systeccan/systeccanbackend_p.h')
-rw-r--r--src/plugins/canbus/systeccan/systeccanbackend_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/canbus/systeccan/systeccanbackend_p.h b/src/plugins/canbus/systeccan/systeccanbackend_p.h
index 28eb7ff..b938c74 100644
--- a/src/plugins/canbus/systeccan/systeccanbackend_p.h
+++ b/src/plugins/canbus/systeccan/systeccanbackend_p.h
@@ -94,6 +94,7 @@ public:
void startWrite();
void readAllReceivedMessages();
bool verifyBitRate(int bitrate);
+ void resetController();
SystecCanBackend * const q_ptr;