b.liu | 1c74d69 | 2024-08-14 17:43:59 +0800 | [diff] [blame] | 1 | #include "mbtk_adc.h" |
2 | #include "ql/ql_adc.h" | ||||
3 | |||||
4 | int ql_adc_show(Enum_QADC qadc) | ||||
5 | { | ||||
6 | if(qadc == ADC0 || qadc == ADC1) { | ||||
7 | return mbtk_adc_get((mbtk_adc_enum)qadc); | ||||
8 | } else { | ||||
9 | return -1; | ||||
10 | } | ||||
11 | } | ||||
12 |