From: Romain Forlot Date: Mon, 27 Feb 2017 22:03:12 +0000 (+0100) Subject: Fix: wrong conf file name specified X-Git-Tag: 3.99.1~435 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=956c083a7f0622438bbbbf47b05355f812fb1de6;p=apps%2Flow-level-can-service.git Fix: wrong conf file name specified Comestic change about binding description and prefix Change-Id: Iffb3e0d13a81461db0f1300674c4fef3a6bde34f Signed-off-by: Romain Forlot --- 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);