summaryrefslogtreecommitdiffstats
path: root/plugins/gps.c
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-12-04 17:24:04 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-14 11:00:49 +0100
commit55e4e3b31f2cbec776eb89c0b780f895fa0f0b86 (patch)
tree5699221bfede9aebf57e08a53fa84b38fac13e4d /plugins/gps.c
parent1cf6b5e10983716b4fd222db559fe7161397e285 (diff)
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 <romain.forlot@iot.bzh>
Diffstat (limited to 'plugins/gps.c')
-rw-r--r--plugins/gps.c4
1 files changed, 2 insertions, 2 deletions
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;