summaryrefslogtreecommitdiffstats
path: root/4a-hal
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-12 09:16:14 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:53:53 +0200
commitadde996d8572a566c3461076a74326734053cf79 (patch)
tree500d5105f49d0604b67db84be6dc088b958fa440 /4a-hal
parenta78f724082be2b5a7beab7f8c2bbce2910481e45 (diff)
Move onload section parsing last
To avoid onload action to be launch before the configuration sets in other sections, parse onload section last. Change-Id: Icdc77239a9784e559bd9df130d3dc63c7ba5801b Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal')
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c
index 5a07baa..6d5f9e3 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c
@@ -46,11 +46,11 @@ AFB_ApiT AFB_default;
static CtlSectionT ctrlSections[] =
{
{.key="plugins" , .loadCB= PluginConfig},
- {.key="onload" , .loadCB= OnloadConfig},
{.key="controls", .loadCB= ControlConfig},
{.key="events" , .loadCB= EventConfig},
{.key="halmap", .loadCB= HalCtlsHalMapConfig},
{.key="halmixer", .loadCB= HalCtlsHalMixerConfig},
+ {.key="onload" , .loadCB= OnloadConfig},
{.key=NULL}
};