summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
m---------app-controller0
-rw-r--r--plugins/lib/bluetooth/hal-bt.c4
2 files changed, 2 insertions, 2 deletions
diff --git a/app-controller b/app-controller
-Subproject 625ce776e0e9ed869da90659eb988ee32de4cf3
+Subproject 33abde52666af1335571252143d21de5d305ca9
diff --git a/plugins/lib/bluetooth/hal-bt.c b/plugins/lib/bluetooth/hal-bt.c
index 3f38012..e5c73bc 100644
--- a/plugins/lib/bluetooth/hal-bt.c
+++ b/plugins/lib/bluetooth/hal-bt.c
@@ -130,7 +130,7 @@ CTLP_INIT(plugin, callbacks)
return -6;
}
- if(AddActionsToSectionFromPlugin(plugin->api, *ctrlConfig->ctlPlugins, &ctrlConfig->sections[idx], actionsToAdd, 0)) {
+ if(AddActionsToSection(plugin->api, &ctrlConfig->sections[idx], actionsToAdd, 0)) {
AFB_ApiError(plugin->api, "Wasn't able to add '%s' as a new event to %s", json_object_get_string(actionsToAdd), ctrlConfig->sections[idx].key);
json_object_put(actionsToAdd);
return -7;
@@ -151,7 +151,7 @@ CTLP_INIT(plugin, callbacks)
return -8;
}
- if(AddActionsToSectionFromPlugin(plugin->api, *ctrlConfig->ctlPlugins, &ctrlConfig->sections[idx], actionsToAdd, 0)) {
+ if(AddActionsToSection(plugin->api, &ctrlConfig->sections[idx], actionsToAdd, 0)) {
AFB_ApiError(plugin->api, "Wasn't able to add '%s' as a new onload to %s", json_object_get_string(actionsToAdd), ctrlConfig->sections[idx].uid);
json_object_put(actionsToAdd);
return -9;