summaryrefslogtreecommitdiffstats
path: root/binding/config_iiodevices.c
diff options
context:
space:
mode:
authorLi, Xiaoming <lixm.fnst@cn.fujitsu.com>2020-08-18 17:20:11 +0800
committerLi, Xiaoming <lixm.fnst@cn.fujitsu.com>2020-08-18 17:20:11 +0800
commitd6f372ad2cfd25540a5e92281f4b2ba2085c30b1 (patch)
tree653e2294421087a8ff71957e4cc1be986a32fbe8 /binding/config_iiodevices.c
parentf83b263194aa486419965e2cb613c8606b6e59ed (diff)
Bug-AGL: SPEC-2745 Change-Id: I83c3a86a55f5e729e6cc1a4bb437edc300cccfad Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'binding/config_iiodevices.c')
-rw-r--r--binding/config_iiodevices.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/binding/config_iiodevices.c b/binding/config_iiodevices.c
index 0a195dd..d0b73c4 100644
--- a/binding/config_iiodevices.c
+++ b/binding/config_iiodevices.c
@@ -20,7 +20,7 @@
#include <stdlib.h>
#include <string.h>
-#define AFB_BINDING_VERSION 2
+#define AFB_BINDING_VERSION 3
#include <afb/afb-binding.h>
void set_channel_name(char *name, enum iio_elements iioelts)
@@ -33,7 +33,7 @@ void set_channel_name(char *name, enum iio_elements iioelts)
case Z:
strcat(name, "_z"); break;
default:
- AFB_WARNING("cannot set channel name, no matching iio_elements found: %d", iioelts);
+ AFB_API_WARNING(afbBindingV3root, "cannot set channel name, no matching iio_elements found: %d", iioelts);
}
}
@@ -50,7 +50,7 @@ enum iio_elements treat_iio_elts(const char *iioelts_string)
if(strchr(iioelts_string, 'z') || strchr(iioelts_string, 'Z'))
iioelts = iioelts | Z;
}
- AFB_INFO("ENUMERATION::: %s %d", iioelts_string, iioelts);
+ AFB_API_INFO(afbBindingV3root, "ENUMERATION::: %s %d", iioelts_string, iioelts);
return iioelts;
}