summaryrefslogtreecommitdiffstats
path: root/src/low-can-binding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/low-can-binding.cpp')
-rw-r--r--src/low-can-binding.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/low-can-binding.cpp b/src/low-can-binding.cpp
index 87c94d54..9e344018 100644
--- a/src/low-can-binding.cpp
+++ b/src/low-can-binding.cpp
@@ -136,7 +136,7 @@ static int subscribe_unsubscribe_name(struct afb_req request, bool subscribe, co
else
{
openxc_DynamicField search_key = build_DynamicField(name);
- sig = find_can_signals(binder_interface, search_key);
+ sig = find_can_signals(search_key);
if (sig.empty())
ret = 0;
}
@@ -221,7 +221,7 @@ extern "C"
fd_conf = afb_daemon_rootdir_open_locale(binder_interface->daemon, "can_bus.json", O_RDONLY, NULL);
/* Open CAN socket */
- can_bus_t can_bus_handler(binder_interface, fd_conf);
+ can_bus_t can_bus_handler(fd_conf);
if(can_bus_handler.init_can_dev() == 0)
{
can_bus_handler.start_threads();