summaryrefslogtreecommitdiff
path: root/nuttx/configs/mikroe-stm32f4/src/up_touchscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/mikroe-stm32f4/src/up_touchscreen.c')
-rw-r--r--nuttx/configs/mikroe-stm32f4/src/up_touchscreen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/nuttx/configs/mikroe-stm32f4/src/up_touchscreen.c b/nuttx/configs/mikroe-stm32f4/src/up_touchscreen.c
index f8b7f5e4d..30b65e6bb 100644
--- a/nuttx/configs/mikroe-stm32f4/src/up_touchscreen.c
+++ b/nuttx/configs/mikroe-stm32f4/src/up_touchscreen.c
@@ -435,7 +435,6 @@ static void tc_adc_init(void)
regval = tc_adc_getreg(STM32_ADC_SQR3_OFFSET) & ADC_SQR3_RESERVED;
regval |= LCD_YD_CHANNEL;
tc_adc_putreg(STM32_ADC_SQR3_OFFSET, regval);
- regval = tc_adc_getreg(STM32_ADC_SQR3_OFFSET);
/* Set the number of conversions = 1 */