summaryrefslogtreecommitdiffstats
path: root/src/low-can-binding.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-08 13:57:55 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:39 +0100
commitfd56d95d7f9794aafdbe8afae1dc212b232ae83b (patch)
treea1265595de40aa583438f15f9123aed3d51af6e9 /src/low-can-binding.cpp
parent8ceec331a4c7381c42b983dcc0863da5ea40daeb (diff)
Fix: wrong assignement of can_bus_t object.
Fix: const function added by mistake. Change-Id: I69dc19922c9e48fc073f1a3e00dd243188110971 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/low-can-binding.cpp')
-rw-r--r--src/low-can-binding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/low-can-binding.cpp b/src/low-can-binding.cpp
index c44b064e..759437bc 100644
--- a/src/low-can-binding.cpp
+++ b/src/low-can-binding.cpp
@@ -222,7 +222,7 @@ extern "C"
{
config = new configuration_t();
- can_bus_t can_bus_manager = config->get_can_bus_manager();
+ can_bus_t& can_bus_manager = config->get_can_bus_manager();
/* Open CAN socket */
if(can_bus_manager.init_can_dev() == 0)