summaryrefslogtreecommitdiffstats
path: root/plugin/unicens-output/wrap_unicens.h
diff options
context:
space:
mode:
authorFrederic Marec <frederic.marec@iot.bzh>2019-05-10 10:54:58 +0200
committerFrederic Marec <frederic.marec@iot.bzh>2019-05-14 09:51:57 +0200
commit88211e8b9cb19ecec8c28c1de19e0d42dadcb916 (patch)
tree2c06a6f5db06211dc2894efc01f249c8aa247dd0 /plugin/unicens-output/wrap_unicens.h
parent9228c9da5b85f0fdd6b01f0309e57b846618be63 (diff)
Bug-AGL: SPEC-2139 Change-Id: I6f1227f7b293b6a3dc8d527e18cd482955783021 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Diffstat (limited to 'plugin/unicens-output/wrap_unicens.h')
-rw-r--r--plugin/unicens-output/wrap_unicens.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/unicens-output/wrap_unicens.h b/plugin/unicens-output/wrap_unicens.h
index 6199476..42fa934 100644
--- a/plugin/unicens-output/wrap_unicens.h
+++ b/plugin/unicens-output/wrap_unicens.h
@@ -26,7 +26,7 @@
#include <ctl-plugin.h>
-extern AFB_ApiT unicensHalApiHandle;
+extern afb_api_t unicensHalApiHandle;
/* Asynchronous API: result callback */
typedef void (*wrap_ucs_result_cb_t)(uint8_t result, void *user_ptr);
@@ -39,7 +39,7 @@ extern int wrap_ucs_i2cwrite(uint16_t node,
void *result_user_ptr);
/* Synchronous API: functions */
-extern int wrap_ucs_subscribe_sync(AFB_ApiT apiHandle);
-extern int wrap_ucs_i2cwrite_sync(AFB_ApiT apiHandle, uint16_t node, uint8_t *data_ptr, uint8_t data_sz);
+extern int wrap_ucs_subscribe_sync(afb_api_t apiHandle);
+extern int wrap_ucs_i2cwrite_sync(afb_api_t apiHandle, uint16_t node, uint8_t *data_ptr, uint8_t data_sz);
extern int wrap_ucs_sendmessage_sync(uint16_t src_addr, uint16_t msg_id, uint8_t *data_ptr, uint8_t data_sz);