Add basic change for v1453
Change-Id: I9497a61bbc3717f66413794a4e7dee0347c0bc33
diff --git a/mbtk/test/libql_lib_v2/ql_adc_test.c b/mbtk/test/libql_lib_v2/ql_adc_test.c
new file mode 100755
index 0000000..d82a5b9
--- /dev/null
+++ b/mbtk/test/libql_lib_v2/ql_adc_test.c
@@ -0,0 +1,23 @@
+#include <stdio.h>
+#include "ql_adc.h"
+
+int main(int argc, char *argv[])
+{
+ if(argc != 2) {
+ printf("ql_adc_test <0/1/2>\n");
+ return -1;
+ }
+
+ int adc = atoi(argv[1]);
+ if(adc != 0 && adc != 1 && adc != 2) {
+ printf("ql_adc_test <0/1/2>\n");
+ return -1;
+ }
+
+ int result = ql_adc_show((ADC_CHANNEL_E)(adc + 1));
+
+ printf("ADC : %d\n", result);
+
+ return 0;
+}
+