diff options
Diffstat (limited to 'plugins/lib/bluetooth/hal-bt.c')
-rw-r--r-- | plugins/lib/bluetooth/hal-bt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/lib/bluetooth/hal-bt.c b/plugins/lib/bluetooth/hal-bt.c index e5c73bc..7884dd6 100644 --- a/plugins/lib/bluetooth/hal-bt.c +++ b/plugins/lib/bluetooth/hal-bt.c @@ -69,7 +69,7 @@ CTLP_INIT(plugin, callbacks) return -1; } - if(! (currentHalData = (struct SpecificHalData *) ctrlConfig->external)) { + if(! (currentHalData = getExternalData(ctrlConfig))) { AFB_ApiError(plugin->api, "Can't get current hal controller data"); return -2; } |