summaryrefslogtreecommitdiffstats
path: root/low-can-binding/can
diff options
context:
space:
mode:
Diffstat (limited to 'low-can-binding/can')
-rw-r--r--low-can-binding/can/can-bus.cpp2
-rw-r--r--low-can-binding/can/message-definition.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/low-can-binding/can/can-bus.cpp b/low-can-binding/can/can-bus.cpp
index cbe3cda7..0510998b 100644
--- a/low-can-binding/can/can-bus.cpp
+++ b/low-can-binding/can/can-bus.cpp
@@ -181,9 +181,7 @@ void can_bus_t::can_decode_message()
std::lock_guard<std::mutex> subscribed_signals_lock(sm.get_subscribed_signals_mutex());
map_subscription& s = sm.get_subscribed_signals();
if(application_t::instance().get_diagnostic_manager().is_diagnostic_response(message))
- {
process_diagnostic_signals(application_t::instance().get_diagnostic_manager(), message, s);
- }
else
process_signals(message, s);
}
diff --git a/low-can-binding/can/message-definition.cpp b/low-can-binding/can/message-definition.cpp
index e6fd862f..5977fb49 100644
--- a/low-can-binding/can/message-definition.cpp
+++ b/low-can-binding/can/message-definition.cpp
@@ -87,7 +87,7 @@ bool message_definition_t::is_j1939() const
bool message_definition_t::is_isotp() const
{
- return (flags_&ISOTP_PROTOCOL);
+ return (flags_ & ISOTP_PROTOCOL);
}
vect_ptr_signal_t& message_definition_t::get_signals()