Skip to content

Commit a43826e

Browse files
author
Yuriy Vynnychek
committed
fix ADC test project
1 parent 237f120 commit a43826e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/drivers/adc/adc_api/src/test_adc.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,12 @@
100100
#elif defined(CONFIG_BOARD_TLSR9518ADK80D)
101101

102102
#define ADC_DEVICE_NAME DT_LABEL(DT_INST(0, telink_b91_adc))
103-
#define ADC_RESOLUTION 13
103+
#define ADC_RESOLUTION 12
104104
#define ADC_GAIN ADC_GAIN_1_4
105105
#define ADC_REFERENCE ADC_REF_INTERNAL
106106
#define ADC_ACQUISITION_TIME ADC_ACQ_TIME_DEFAULT
107107
#define ADC_1ST_CHANNEL_ID 0
108+
#define ADC_1ST_CHANNEL_INPUT 0x0f
108109

109110
#elif defined(CONFIG_BOARD_FRDM_K82F)
110111

0 commit comments

Comments
 (0)