summaryrefslogtreecommitdiffstats
path: root/src/obd2.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-16 16:12:14 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-16 16:12:14 +0000
commitec95cbf8d430f9616eff050f510268f9901944b6 (patch)
tree0d4c360910b31a2bdfd61f5208e9787ce9fd98ff /src/obd2.cpp
parentd6d322103eaf1d2d5a1a94a0720a01a692f6a134 (diff)
Change CanMessage_c to can_message_t class name
Change-Id: I58a8d05ef226c22c9218cd3bf4932216e33f0de0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/obd2.cpp')
-rw-r--r--src/obd2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/obd2.cpp b/src/obd2.cpp
index ae2db98a..3563928c 100644
--- a/src/obd2.cpp
+++ b/src/obd2.cpp
@@ -28,9 +28,9 @@ void shims_timer()
/*
* Will scan for supported Obd2 pids
*/
-obd2_handler_c::obd2_handler_c(afb_binding_interface *itf, CanBus_c cb)
+obd2_handler_c::obd2_handler_c(afb_binding_interface *itf, can_bus_t cb)
{
- CanBus_c can_bus = cb;
+ can_bus_t can_bus = cb;
DiagnosticShims shims = diagnostic_init_shims(shims_logger, can_bus.send_can_message, NULL);
int n_pids, i;