From 453aabcfd2a3683eabf378dc3e8d2509badd1aa9 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') 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 } }; -- cgit 1.2.3-korg