aboutsummaryrefslogtreecommitdiffstats
path: root/binding/config_iiodevices.c
diff options
context:
space:
mode:
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;
}