summaryrefslogtreecommitdiffstats
path: root/Controler-afb/ctl-binding.c
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-08-13 16:50:34 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-08-13 17:31:30 +0200
commit9777a02c7540fdec145feb948b4bbf1cd44c3352 (patch)
tree85f64445ef292938839092696c449d1b7c63216e /Controler-afb/ctl-binding.c
parentb65178642727536972d0c04e53b2310be58beb2e (diff)
Fix AFB_MESSAGE with null arguments
Diffstat (limited to 'Controler-afb/ctl-binding.c')
-rw-r--r--Controler-afb/ctl-binding.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Controler-afb/ctl-binding.c b/Controler-afb/ctl-binding.c
index dc225a4..19f97eb 100644
--- a/Controler-afb/ctl-binding.c
+++ b/Controler-afb/ctl-binding.c
@@ -68,6 +68,9 @@ PUBLIC int CtlBindingInit () {
errcount += DispatchInit();
errcount += LuaLibInit();
+ // now that everything is initialised execute the onload action
+ errcount += DispatchOneOnLoad(CONTROL_ONLOAD_DEFAULT);
+
AFB_DEBUG ("Audio Policy Control Binding Done errcount=%d", errcount);
return errcount;
}