[X9E] Compilation fix
This commit is contained in:
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user