aboutsummaryrefslogtreecommitdiffstats
path: root/4a-hal
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-09-26 20:22:27 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:57:27 +0200
commit44ba7ada737c6a2725e70c72948fc1abcb8c613b (patch)
tree81f17548308ab9f8cc3aa6a2b47691396fe7204b /4a-hal
parent5ccf7be9058e457e36e1fc2ea39c27bcc80cd3a9 (diff)
Move hal sections callbacks after plugin callback
Into the controller section array, move hal sections callbacks after plugin callback so it will be executed before everything else. Change-Id: Id80063caae3b089e6ccef79a7b54a82b16600375 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.c4
1 files changed, 2 insertions, 2 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 92eed86..d2ae7d4 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
@@ -45,10 +45,10 @@ AFB_ApiT AFB_default;
static CtlSectionT ctrlSections[] =
{
{ .key = "resources", .loadCB = PluginConfig },
- { .key = "onload", .loadCB = OnloadConfig },
- { .key = "controls", .loadCB = ControlConfig },
{ .key = "halmixer", .loadCB = HalCtlsHalMixerConfig },
{ .key = "halmap", .loadCB = HalCtlsHalMapConfig },
+ { .key = "onload", .loadCB = OnloadConfig },
+ { .key = "controls", .loadCB = ControlConfig },
{ .key = "events", .loadCB = EventConfig },
{ .key = NULL }
};