Gitiles
Code Review
Sign In
192.168.1.100
/
T108_Public
/
799341ea09caae71fe2576391097664a7c055d67
/
.
/
mbtk
/
libql_lib
/
src
/
ql_adc.c
blob: 812427eb9cbcaec1ba9db4caae5a604c57ab4a75 [
file
] [
log
] [
blame
]
#include
"mbtk_adc.h"
#include
"ql/ql_adc.h"
int
ql_adc_show
(
Enum_QADC
qadc
)
{
if
(
qadc
==
ADC0
||
qadc
==
ADC1
)
{
return
mbtk_adc_get
((
mbtk_adc_enum
)
qadc
);
}
else
{
return
-
1
;
}
}