diff --git a/model/include/model/comm_navmsg_bus.h b/model/include/model/comm_navmsg_bus.h index 281d444970..035d6c6f85 100644 --- a/model/include/model/comm_navmsg_bus.h +++ b/model/include/model/comm_navmsg_bus.h @@ -59,7 +59,7 @@ class NavMsgBus : public DriverListener { const std::set& GetActiveMessages() { return m_active_messages; } /** Notified without data when new message type(s) are detected. */ - EventVar NewMessageEvent; + EventVar new_msg_event; private: std::mutex m_mutex; diff --git a/model/src/comm_navmsg_bus.cpp b/model/src/comm_navmsg_bus.cpp index 9c58df8a8f..9cb6d1adf4 100644 --- a/model/src/comm_navmsg_bus.cpp +++ b/model/src/comm_navmsg_bus.cpp @@ -30,7 +30,7 @@ void NavMsgBus::Notify(std::shared_ptr msg) { { std::lock_guard lock(m_mutex); if (m_active_messages.find(key) == m_active_messages.end()) - NewMessageEvent.Notify(); + new_msg_event.Notify(); m_active_messages.insert(key); } Observable(*msg).Notify(msg);