summaryrefslogtreecommitdiffstats
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-11-27 18:38:06 +0100
commit2a0c79fff26a7262f75b9e1f3df97b555a375e80 (patch)
tree570886815e2b4deefd8ecf1a4fdddd8199872afa /4a-hal
parent7db42de7fd8a82c3ccfda3b71fee19ea1000866d (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 9ecf088..0c2a95d 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 }
};