We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce6783 commit 3f009e9Copy full SHA for 3f009e9
src/registers/converters/adc1.c
@@ -252,7 +252,7 @@ static void InitDMAMode(ADC1_RESOLUTION_TYPE resolution) {
252
ADC1_ResolutionModeSet(resolution);
253
InitModesCommon();
254
255
- DMA_Initialize();
+ DMA_InitializeChannel0();
256
DMA_SetOneShotMode(DMA_CHANNEL_0);
257
DMA_PeripheralIrqNumberSet(DMA_CHANNEL_0, DMA_PERIPHERAL_IRQ_ADC1);
258
DMA_SetLogicAnalyzerChannelMode(DMA_MODES_ONE_CHANNEL);
0 commit comments