aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-19 19:25:26 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-12-03 19:46:26 +0100
commitf32854c51f59cc044e37f962ea66e4a80811c564 (patch)
tree1d8224714b608731ed71aebef8f6806b0f84d8f5
parent301265a5dab15f8ad70127fcc01b1f5f3260915a (diff)
low-can-cb: Mark the end of the CtlSections array
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 25f25ccd..c2f4b78f 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, .prefix=nullptr,
+ .loadCB=PluginConfig,
+ .handle=nullptr,
+ .actions=nullptr},
};
///*****************************************************************************
@@ -861,7 +865,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();