From db13354c18e888d04b776e584addb668d8614da4 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Sat, 9 Nov 2019 18:09:30 +0100 Subject: binding: add preinit function to load the config Make as the others bindings using controller and load its configuration file at preinit step. diagnostic-manager: Change way to initialize the diag bus This was kind of hardcoded and now, it is initialized by a configuration key of the controller configuration JSON file. Bug-AGL: SPEC-2988 Change-Id: I344c1982893e47600a0b8cd03542de8069a42d24 Signed-off-by: Romain Forlot --- low-can-binding/binding/low-can-apidef.json | 1 + 1 file changed, 1 insertion(+) (limited to 'low-can-binding/binding/low-can-apidef.json') diff --git a/low-can-binding/binding/low-can-apidef.json b/low-can-binding/binding/low-can-apidef.json index 5f528377..ba539b0c 100644 --- a/low-can-binding/binding/low-can-apidef.json +++ b/low-can-binding/binding/low-can-apidef.json @@ -12,6 +12,7 @@ "postfix": "", "start": null , "onevent": null, + "preninit": "loadConf", "init": "init_binding", "scope": "", "private": false -- cgit 1.2.3-korg