summaryrefslogtreecommitdiffstats
path: root/src/utils/signals.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/signals.hpp')
-rw-r--r--src/utils/signals.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/utils/signals.hpp b/src/utils/signals.hpp
index e575bd15..cee5505d 100644
--- a/src/utils/signals.hpp
+++ b/src/utils/signals.hpp
@@ -22,9 +22,12 @@
#include <fnmatch.h>
#include "openxc.pb.h"
+#include "configuration.hpp"
#include "can/can-signals.hpp"
#include "obd2/obd2-signals.hpp"
+#include "low-can-binding.hpp"
+
extern std::mutex subscribed_signals_mutex;
std::mutex& get_subscribed_signals_mutex();
@@ -61,7 +64,7 @@ void lookup_signals_by_id(const double key, std::vector<T>& signals, std::vector
{
for(T& s : signals)
{
- if(get_signal_id(s) == key)
+ if(config->get_signal_id(s) == key)
{
found_signals.push_back(&s);
}
@@ -73,7 +76,7 @@ void lookup_signals_by_id(const double key, std::vector<T>& signals, std::vector
{
for(const T& s : signals)
{
- if(get_signal_id(s) == key)
+ if(config->get_signal_id(s) == key)
{
found_signals_name.push_back(s.generic_name);
}