aboutsummaryrefslogtreecommitdiffstats
path: root/4a-hal
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-11-27 18:34:33 +0100
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-12-06 17:54:32 +0100
commit453aabcfd2a3683eabf378dc3e8d2509badd1aa9 (patch)
tree1c47c942ed1cbbc4775980d718af0e428ec6bc8b /4a-hal
parenteac596021a782efaa7e223e197bf4e4974a206ea (diff)
Move hal controls actions at the end of hal init
Move hal controls actions at the end of hal initialization to avoid calling halmap controls before handling controller actions (onload, events). Change-Id: Id3896b9497985d7a82242d719551a507a0ca74c5 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 312959e..bb637b2 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,10 +46,10 @@ static CtlSectionT ctrlSectionsDefault[] =
{
{ .key = "resources", .loadCB = PluginConfig },
{ .key = "halmixer", .loadCB = HalCtlsHalMixerConfig },
- { .key = "halmap", .loadCB = HalCtlsHalMapConfig },
{ .key = "onload", .loadCB = OnloadConfig },
{ .key = "controls", .loadCB = ControlConfig },
{ .key = "events", .loadCB = EventConfig },
+ { .key = "halmap", .loadCB = HalCtlsHalMapConfig },
{ .key = NULL }
};