diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-10 09:45:29 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-10 18:45:55 +0200 |
commit | 415de819e774a7dbe7aa6073c23b6387b1365b9d (patch) | |
tree | 27e3a48f68a028c9dbcc7108c6ccac7460b7732d /CAN-binder/low-can-binding/can/can-bus.hpp | |
parent | a261e68d0dd32a03fdf42522e6d2c8259ba0f3d1 (diff) |
Keeping RAW sockets for compatibility
And reset can_reader to can_bus_dev_t like the old behavior because BCM sockets
has been implemented at signals level not device.
Change-Id: I715a19ff65bf9d7231c73b66c1ee95b3f41f8ed0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/can/can-bus.hpp')
-rw-r--r-- | CAN-binder/low-can-binding/can/can-bus.hpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/CAN-binder/low-can-binding/can/can-bus.hpp b/CAN-binder/low-can-binding/can/can-bus.hpp index 94fa0a5..8ed135f 100644 --- a/CAN-binder/low-can-binding/can/can-bus.hpp +++ b/CAN-binder/low-can-binding/can/can-bus.hpp @@ -54,10 +54,6 @@ private: int process_can_signals(can_message_t& can_message); int process_diagnostic_signals(diagnostic_manager_t& manager, const can_message_t& can_message); - int can_reader(); - std::thread th_reading_; ///< Thread handling read the socket can device filling can_message_q_ queue of can_bus_t - bool is_reading_ = false; ///< boolean telling whether or not reading is running or not - void can_decode_message(); std::thread th_decoding_; ///< thread that'll handle decoding a can frame bool is_decoding_ = false; ///< boolean member controling thread while loop |