summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-19 19:25:26 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-09 15:55:03 +0100
commit45d94ded14cb99aafa8c93c5d1cce457551e48ea (patch)
tree11107ca7b89f2320e344d361cd9c6e41a4fad50a
parent5492ff0bfedfadffc10bcbf172cade47f9450beb (diff)
low-can-cb: Mark the end of the CtlSections array
Bug-AGL: SPEC-2988 Change-Id: I433f4f699f3234fc07fcd909cd6b77b84e447ad7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--low-can-binding/binding/low-can-cb.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/low-can-binding/binding/low-can-cb.cpp b/low-can-binding/binding/low-can-cb.cpp
index afc9c3eb..0445de3e 100644
--- a/low-can-binding/binding/low-can-cb.cpp
+++ b/low-can-binding/binding/low-can-cb.cpp
@@ -93,6 +93,10 @@ CtlSectionT ctlSections_[] = {
.loadCB=PluginConfig,
.handle=nullptr,
.actions=nullptr},
+ [2]={.key=nullptr , .uid=nullptr, .info=nullptr,
+ .loadCB=nullptr,
+ .handle=nullptr,
+ .actions=nullptr},
};
///*****************************************************************************
@@ -862,7 +866,6 @@ int init_binding(afb_api_t api)
return -1;
}
-
can_bus_manager.set_can_devices();
can_bus_manager.start_threads();
utils::signals_manager_t& sm = utils::signals_manager_t::instance();