diff options
Diffstat (limited to 'src/can/can-bus.cpp')
-rw-r--r-- | src/can/can-bus.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/can/can-bus.cpp b/src/can/can-bus.cpp index 034e0ac..699cb8c 100644 --- a/src/can/can-bus.cpp +++ b/src/can/can-bus.cpp @@ -31,7 +31,6 @@ #include "can/can-decoder.hpp" #include "utils/openxc-utils.hpp" -#include "obd2/diagnostic-manager.hpp" extern "C" { @@ -93,7 +92,7 @@ void can_bus_t::can_decode_message() DEBUG(binder_interface, "Operator[] key char: %s, event valid? %d", sig.generic_name, afb_event_is_valid(s[sig.generic_name])); DEBUG(binder_interface, "Operator[] key string: %s, event valid? %d", sig.generic_name, afb_event_is_valid(s[std::string(sig.generic_name)])); DEBUG(binder_interface, "Nb elt matched char: %d", (int)s.count(sig.generic_name)); - DEBUG(binder_interface, "Nb elt matched string: %d", (int)s.count(std::string(sig.generic_name))); */ + DEBUG(binder_interface, "Nb elt matched string: %d", (int)s.count(std::string(sig.generic_name)));*/ if( s.find(sig->generic_name) != s.end() && afb_event_is_valid(s[sig->generic_name])) { decoded_message = decoder.translateSignal(*sig, can_message, get_can_signals()); @@ -365,7 +364,7 @@ std::map<std::string, std::shared_ptr<can_bus_dev_t>> can_bus_t::get_can_devices * @param const string representing the device name into the linux /dev tree */ can_bus_dev_t::can_bus_dev_t(const std::string& dev_name) - : device_name_{dev_name}, can_socket_{-1}, diagnostic_manager_{diagnostic_manager_t(*this)} + : device_name_{dev_name}, can_socket_{-1} {} /** |