apidef: fix no preinit defined. 36/23236/6
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 26 Nov 2019 14:20:40 +0000 (15:20 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 9 Jan 2020 14:55:04 +0000 (15:55 +0100)
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>
low-can-binding/binding/low-can-apidef.json

index ba539b0..db8af8e 100644 (file)
@@ -12,7 +12,7 @@
                        "postfix": "",
                        "start": null ,
                        "onevent": null,
-                       "preninit": "loadConf",
+                       "preinit": "load_config",
                        "init": "init_binding",
                        "scope": "",
                        "private": false