aboutsummaryrefslogtreecommitdiffstats
path: root/src/can-signals.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-03 15:12:17 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-03 15:12:17 +0100
commit217690559c27646c7e412aaeacfa2064a9e7e6e4 (patch)
tree9eb275e2442a542940e4b73218916369699db626 /src/can-signals.cpp
parent2e8e455644720437d32b0377a7a1697d96655727 (diff)
change all genericName to generic_name. Now all
objects use the same variable name Change-Id: I8a232bc8fd7e580bd8088e6b2ae7a90666ef9c62 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-signals.cpp')
-rw-r--r--src/can-signals.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/can-signals.cpp b/src/can-signals.cpp
index 5683862e..c9d9fac0 100644
--- a/src/can-signals.cpp
+++ b/src/can-signals.cpp
@@ -90,10 +90,10 @@ std::vector<CanSignal> find_can_signals(const openxc_DynamicField &key)
case openxc_DynamicField_Type::openxc_DynamicField_Type_STRING:
for(const CanSignal& s : active_signals)
{
- //DEBUG(binder_interface, "Processing signal: %s", s.genericName);
- if(::fnmatch(key.string_value, s.genericName, FNM_CASEFOLD) == 0)
+ //DEBUG(binder_interface, "Processing signal: %s", s.generic_name);
+ if(::fnmatch(key.string_value, s.generic_name, FNM_CASEFOLD) == 0)
{
- //DEBUG(binder_interface, "Matched signal: %s", s.genericName);
+ //DEBUG(binder_interface, "Matched signal: %s", s.generic_name);
found_signals.push_back(s);
}
}