From fe5a4857985fd00b961c63274e678c8df19feaee Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 9 Mar 2017 02:28:27 +0100 Subject: Fix: used new created classes. Change-Id: Ib0188ac952f64b3bc2203c0310a21de380c75854 Signed-off-by: Romain Forlot --- src/utils/signals.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/signals.cpp') diff --git a/src/utils/signals.cpp b/src/utils/signals.cpp index 9da04f59..6f8847cc 100644 --- a/src/utils/signals.cpp +++ b/src/utils/signals.cpp @@ -60,11 +60,11 @@ std::vector find_signals(const openxc_DynamicField &key) switch(key.type) { case openxc_DynamicField_Type::openxc_DynamicField_Type_STRING: - lookup_signals_by_name(key.string_value, get_can_signals(), found_signals_name); + 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); break; case openxc_DynamicField_Type::openxc_DynamicField_Type_NUM: - lookup_signals_by_id(key.numeric_value, get_can_signals(), found_signals_name); + 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); break; default: -- cgit 1.2.3-korg