aboutsummaryrefslogtreecommitdiffstats
path: root/ucs2-afb/ucs_binding.h
diff options
context:
space:
mode:
Diffstat (limited to 'ucs2-afb/ucs_binding.h')
-rw-r--r--ucs2-afb/ucs_binding.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/ucs2-afb/ucs_binding.h b/ucs2-afb/ucs_binding.h
index 9874ff4..e7b1a3c 100644
--- a/ucs2-afb/ucs_binding.h
+++ b/ucs2-afb/ucs_binding.h
@@ -18,17 +18,16 @@
#ifndef UCS2BINDING_H
#define UCS2BINDING_H
-// Use Version of AGL Application Framework API
-#define AFB_BINDING_VERSION 2
-
#ifndef PUBLIC
#define PUBLIC
#endif
#define STATIC static
-#include <json-c/json.h>
+/* binding is using the application framework API V2
+ * the compile option "AFB_BINDING_VERSION=2" is located
+ * in conf.d/project/config.cmake */
#include <afb/afb-binding.h>
-
+#include <json-c/json.h>
#include "ucs_interface.h"
#ifndef CONTROL_CDEV_TX