From 2a0c79fff26a7262f75b9e1f3df97b555a375e80 Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Tue, 27 Nov 2018 18:34:33 +0100 Subject: 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 --- 4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c') 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 } }; -- cgit 1.2.3-korg