diff --git a/radio/src/targets/taranis/adc_driver.cpp b/radio/src/targets/taranis/adc_driver.cpp index eab329ca1..863d32d04 100644 --- a/radio/src/targets/taranis/adc_driver.cpp +++ b/radio/src/targets/taranis/adc_driver.cpp @@ -88,7 +88,7 @@ void adcInit() ADC->CCR = 0 ; ADC1_DMA_Stream->CR = DMA_SxCR_PL | DMA_SxCR_MSIZE_0 | DMA_SxCR_PSIZE_0 | DMA_SxCR_MINC; - ADC1_DMA_Stream->PAR = CONVERT_PTR_UINT(&ADC_MAIN_DMA->DR); + ADC1_DMA_Stream->PAR = CONVERT_PTR_UINT(&ADC1->DR); ADC1_DMA_Stream->M0AR = CONVERT_PTR_UINT(adcValues); ADC1_DMA_Stream->NDTR = NUMBER_ANALOG_ADC1; ADC1_DMA_Stream->FCR = DMA_SxFCR_DMDIS | DMA_SxFCR_FTH_0 ;