diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-09 02:28:27 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-16 17:10:40 +0100 |
commit | fe5a4857985fd00b961c63274e678c8df19feaee (patch) | |
tree | a965b6d4ff9d0a68912c63af4c5442e5197d152d /src/utils/signals.cpp | |
parent | 623536b4a10a96a8e71389b741774e645e652e9b (diff) |
Fix: used new created classes.
Change-Id: Ib0188ac952f64b3bc2203c0310a21de380c75854
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/utils/signals.cpp')
-rw-r--r-- | src/utils/signals.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<std::string> 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: |