From 956c083a7f0622438bbbbf47b05355f812fb1de6 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 27 Feb 2017 23:03:12 +0100 Subject: Fix: wrong conf file name specified Comestic change about binding description and prefix Change-Id: Iffb3e0d13a81461db0f1300674c4fef3a6bde34f Signed-off-by: Romain Forlot --- src/low-can-binding.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/low-can-binding.cpp b/src/low-can-binding.cpp index cae86f5..ebb3f33 100644 --- a/src/low-can-binding.cpp +++ b/src/low-can-binding.cpp @@ -208,8 +208,8 @@ extern "C" static const struct afb_binding binding_desc { AFB_BINDING_VERSION_1, { - "CAN bus service", - "can", + "Low level CAN bus service", + "low-can", verbs } }; @@ -231,7 +231,7 @@ extern "C" int afbBindingV1ServiceInit(struct afb_service service) { int fd_conf; - fd_conf = afb_daemon_rootdir_open_locale(binder_interface->daemon, "can_bus.json", O_RDONLY, NULL); + fd_conf = afb_daemon_rootdir_open_locale(binder_interface->daemon, "can_buses.json", O_RDONLY, NULL); /* Initialize the CAN bus handler */ can_bus_t can_bus_handler(fd_conf); -- cgit 1.2.3-korg