diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-27 23:03:12 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-27 23:03:12 +0100 |
commit | 956c083a7f0622438bbbbf47b05355f812fb1de6 (patch) | |
tree | b3e05ad4ed0e02a0a43aabb796934133dec60b05 /src | |
parent | ce9cac1333a35419ab01e99307021c04a056a3bb (diff) |
Fix: wrong conf file name specified
Comestic change about binding description and
prefix
Change-Id: Iffb3e0d13a81461db0f1300674c4fef3a6bde34f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r-- | src/low-can-binding.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/low-can-binding.cpp b/src/low-can-binding.cpp index cae86f5a..ebb3f33b 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); |