diff options
Diffstat (limited to 'src/can_event_push.cpp')
-rw-r--r-- | src/can_event_push.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/can_event_push.cpp b/src/can_event_push.cpp index 07ae8d3c..703a242c 100644 --- a/src/can_event_push.cpp +++ b/src/can_event_push.cpp @@ -27,6 +27,7 @@ void can_event_push(can_bus_t& can_bus) { v_message = can_bus.next_vehicle_message(); s_message = get_simple_message(v_message); + std::map<std::string, struct afb_event> subscribed_signals = get_subscribed_signals(); const auto& it_event = subscribed_signals.find(s_message.name); if(it_event != subscribed_signals.end() && afb_event_is_valid(it_event->second)) afb_event_push(it_event->second, jsonify_simple(s_message)); |