From 55e4e3b31f2cbec776eb89c0b780f895fa0f0b86 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 4 Dec 2017 17:24:04 +0100 Subject: Disable plugin initialization no more needed Context is computed before calling action and accessible through source parameter. Change-Id: Ia1b2c59b7ad4e4e3f60ff193307201dbc6d388ba Signed-off-by: Romain Forlot --- plugins/gps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/gps.c') diff --git a/plugins/gps.c b/plugins/gps.c index 2aab040..a4dfdba 100644 --- a/plugins/gps.c +++ b/plugins/gps.c @@ -31,10 +31,10 @@ CTLP_LUA_REGISTER("gps"); // Call at initialisation time -CTLP_ONLOAD(plugin, api) { +/*CTLP_ONLOAD(plugin, api) { AFB_NOTICE ("GPS plugin: uid='%s' 'info='%s'", plugin->uid, plugin->info); return api; -} +}*/ CTLP_CAPI (subscribeToLow, source, argsJ, eventJ) { json_object* subscribeArgsJ = NULL, *responseJ = NULL; -- cgit 1.2.3-korg