summaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-controllers
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-15 23:47:34 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:53:53 +0200
commit15a4847e6a3360f991de19b9922fa7e76db3f49c (patch)
treee98cf65c1b2e4cad274d33151afcadfe73f70013 /4a-hal/4a-hal-controllers
parent69cad3cf65c741ba34330f0f0bcad2c98dec6eef (diff)
Call onload section to before halmap section
Call onload section to before halmap section. This will be usefull if we want to execute action before the first alsa calls. Change-Id: Ia1b6428d322fb94538fee7b69b4886ab419a597c Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-controllers')
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c6
1 files changed, 3 insertions, 3 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 6d5f9e3..0ea3e12 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,12 +45,12 @@ AFB_ApiT AFB_default;
// Config Section definition
static CtlSectionT ctrlSections[] =
{
- {.key="plugins" , .loadCB= PluginConfig},
+ {.key="resources", .loadCB= PluginConfig},
+ {.key="onload", .loadCB= OnloadConfig},
{.key="controls", .loadCB= ControlConfig},
- {.key="events" , .loadCB= EventConfig},
+ {.key="events", .loadCB= EventConfig},
{.key="halmap", .loadCB= HalCtlsHalMapConfig},
{.key="halmixer", .loadCB= HalCtlsHalMixerConfig},
- {.key="onload" , .loadCB= OnloadConfig},
{.key=NULL}
};