summaryrefslogtreecommitdiffstats
path: root/openxc_example/generate_example.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-06 16:57:14 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-06 16:57:14 +0100
commit239729c759948d4574de625a84cff6f9c1338adf (patch)
tree4f5635d50c5704a0753586d4fea4b3822eee0e51 /openxc_example/generate_example.cpp
parent217690559c27646c7e412aaeacfa2064a9e7e6e4 (diff)
Change way to find signals to make it a little bit more generic.
Now we have basically 3 functions : - one for subscription which return signal name into a vector - one to find from CanSignal vector - a last to find from Obd2Pid vector Name of some function has been changed. May be reworked later. Change-Id: Ie72969fd20503fc1f9291958dc2ac5d827a6be59 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'openxc_example/generate_example.cpp')
-rw-r--r--openxc_example/generate_example.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openxc_example/generate_example.cpp b/openxc_example/generate_example.cpp
index 8127a9dd..24b01df1 100644
--- a/openxc_example/generate_example.cpp
+++ b/openxc_example/generate_example.cpp
@@ -167,7 +167,7 @@ int openxc::signals::getMessageCount() {
return getActiveMessageSet()->messageCount;
}
-CanSignal* openxc::signals::getSignals() {
+CanSignal* openxc::signals::get_can_signals() {
return SIGNALS[getActiveMessageSet()->index];
}