low-can-cb: Mark the end of the CtlSections array 17/23217/6
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 19 Nov 2019 18:25:26 +0000 (19:25 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 9 Jan 2020 14:55:03 +0000 (15:55 +0100)
Bug-AGL: SPEC-2988

Change-Id: I433f4f699f3234fc07fcd909cd6b77b84e447ad7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/binding/low-can-cb.cpp

index afc9c3e..0445de3 100644 (file)
@@ -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();