diff options
author | 2017-07-04 14:23:11 +0200 | |
---|---|---|
committer | 2017-07-04 14:23:11 +0200 | |
commit | 4f4be8b532332735768c07f8fb3ca105c579c0be (patch) | |
tree | 24ae2787e8ce51563af5240148e7a070756eef11 /high-can-binding/high-can-binding-hat.cpp | |
parent | 72a12086728bc21f54b1cfeb3549cd09e8e90d4f (diff) |
DAB RC3 Fixes follows appfw API break.
Following functions now return 0 on success and negative value
on failure :
o afb_req_subcall
o afb_req_subcall_sync
o afb_service_call
o afb_service_call_sync
Verbosity macros used in v2 bindings now needs to be prefixed
with AFB_ (ERROR -> AFB_ERROR)
Change-Id: I7b41f26875226861d8826936c712b4a59e5bb783
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'high-can-binding/high-can-binding-hat.cpp')
-rw-r--r-- | high-can-binding/high-can-binding-hat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/high-can-binding/high-can-binding-hat.cpp b/high-can-binding/high-can-binding-hat.cpp index 0bf7090..71dd3b7 100644 --- a/high-can-binding/high-can-binding-hat.cpp +++ b/high-can-binding/high-can-binding-hat.cpp @@ -27,9 +27,9 @@ const struct afb_binding_v2 afbBindingV2 = { /// @return Exit code, zero if success. int init_service() { - NOTICE("high level binding is initializing"); + AFB_NOTICE("high level binding is initializing"); afb_daemon_require_api("low-can", 1); initHigh(); - NOTICE("high level binding is initialized and running"); + AFB_NOTICE("high level binding is initialized and running"); return 0; } |