summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-26 15:20:40 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-09 15:55:04 +0100
commit961e612d5332a91687f5a0365cb42167caab09b5 (patch)
treea27776c0808c111f4d35727ceacce42ccfa1307f
parentb1428786c5968319b6c963d236b78814958de6e3 (diff)
apidef: fix no preinit defined.
This commit fixes the binding initialization by specifying a preinit function that parse and load the controller configuration Bug-AGL: SPEC-2988 Change-Id: I040c401fa2818d056a61a2858829bc4db2cffece Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--low-can-binding/binding/low-can-apidef.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/low-can-binding/binding/low-can-apidef.json b/low-can-binding/binding/low-can-apidef.json
index ba539b0c..db8af8ed 100644
--- a/low-can-binding/binding/low-can-apidef.json
+++ b/low-can-binding/binding/low-can-apidef.json
@@ -12,7 +12,7 @@
"postfix": "",
"start": null ,
"onevent": null,
- "preninit": "loadConf",
+ "preinit": "load_config",
"init": "init_binding",
"scope": "",
"private": false