diff options
author | Li, Xiaoming <lixm.fnst@cn.fujitsu.com> | 2020-08-18 17:20:11 +0800 |
---|---|---|
committer | Li, Xiaoming <lixm.fnst@cn.fujitsu.com> | 2020-08-18 17:20:11 +0800 |
commit | d6f372ad2cfd25540a5e92281f4b2ba2085c30b1 (patch) | |
tree | 653e2294421087a8ff71957e4cc1be986a32fbe8 /binding/config_iiodevices.c | |
parent | f83b263194aa486419965e2cb613c8606b6e59ed (diff) |
Migration to binding V3marlin_12.90.0marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.0jellyfish_9.99.4jellyfish_9.99.3jellyfish/9.99.4jellyfish/9.99.39.99.49.99.312.90.011.92.011.91.010.93.010.92.010.91.0
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.c | 6 |
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; } |