aboutsummaryrefslogtreecommitdiffstats
path: root/src/low-can-binding.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-27 23:03:12 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-27 23:03:12 +0100
commit956c083a7f0622438bbbbf47b05355f812fb1de6 (patch)
treeb3e05ad4ed0e02a0a43aabb796934133dec60b05 /src/low-can-binding.cpp
parentce9cac1333a35419ab01e99307021c04a056a3bb (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/low-can-binding.cpp')
-rw-r--r--src/low-can-binding.cpp6
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);