summaryrefslogtreecommitdiffstats
path: root/src/utils/signals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/signals.cpp')
-rw-r--r--src/utils/signals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/signals.cpp b/src/utils/signals.cpp
index e65d35e..7393409 100644
--- a/src/utils/signals.cpp
+++ b/src/utils/signals.cpp
@@ -61,11 +61,11 @@ std::vector<std::string> find_signals(const openxc_DynamicField &key)
{
case openxc_DynamicField_Type::openxc_DynamicField_Type_STRING:
lookup_signals_by_name(key.string_value, config->get_can_signals(), found_signals_name);
- lookup_signals_by_name(key.string_value, get_obd2_signals(), found_signals_name);
+ lookup_signals_by_name(key.string_value, config->get_obd2_signals(), found_signals_name);
break;
case openxc_DynamicField_Type::openxc_DynamicField_Type_NUM:
lookup_signals_by_id(key.numeric_value, config->get_can_signals(), found_signals_name);
- lookup_signals_by_id(key.numeric_value, get_obd2_signals(), found_signals_name);
+ lookup_signals_by_id(key.numeric_value, config->get_obd2_signals(), found_signals_name);
break;
default:
ERROR(binder_interface, "find_signals: wrong openxc_DynamicField specified. Use openxc_DynamicField_Type_NUM or openxc_DynamicField_Type_STRING type only.");