projects
/
platform
/
core
/
api
/
peripheral-io.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4445b65
)
adc: fix adc_read_n2 test case
32/188332/1
accepted/tizen/unified/20181031.153942
submit/tizen/20180907.001350
submit/tizen/20180924.110450
submit/tizen/20181010.111134
submit/tizen/20181022.095331
submit/vip/20181010.110708
author
Konrad Kuchciak
<k.kuchciak@samsung.com>
Tue, 4 Sep 2018 04:37:17 +0000
(06:37 +0200)
committer
Konrad Kuchciak
<k.kuchciak@samsung.com>
Tue, 4 Sep 2018 04:38:46 +0000
(06:38 +0200)
Change-Id: I408ea83f787a5f48f883a3455dc660f1a7039d9e
Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
test/src/test_peripheral_adc.c
patch
|
blob
|
history
diff --git
a/test/src/test_peripheral_adc.c
b/test/src/test_peripheral_adc.c
index
20595c0
..
72645e7
100644
(file)
--- a/
test/src/test_peripheral_adc.c
+++ b/
test/src/test_peripheral_adc.c
@@
-224,10
+224,8
@@
int test_peripheral_io_adc_peripheral_adc_read_n2(void)
peripheral_adc_h adc_h = NULL;
- uint32_t value;
-
if (g_feature == false) {
- ret = peripheral_adc_read(adc_h,
&value
);
+ ret = peripheral_adc_read(adc_h,
NULL
);
if (ret != PERIPHERAL_ERROR_NOT_SUPPORTED)
return ret;
@@
-236,7
+234,7
@@
int test_peripheral_io_adc_peripheral_adc_read_n2(void)
if (ret != PERIPHERAL_ERROR_NONE)
return ret;
- ret = peripheral_adc_read(adc_h,
&value
);
+ ret = peripheral_adc_read(adc_h,
NULL
);
if (ret != PERIPHERAL_ERROR_INVALID_PARAMETER) {
peripheral_adc_close(adc_h);
return ret;