diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-10-31 15:55:32 +0100 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-11-02 16:12:26 +0100 |
commit | 226aa0fb14a036f44e9931ea7b7c45aa569be2d9 (patch) | |
tree | a0e04a90c4b62de8d75e50016705f3215f030850 /plugins | |
parent | 71a57c4c7bf7ee3383cb50ab2add8b7956edc247 (diff) |
Use new ctl functions to set/get ctl external data
Use new controller functions to set/get controller configuration structure
external data field.
Change-Id: I0e1ce259fccbbd8b4054efbed07cef5c5b9243b5
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'plugins')
-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; } |