Fixed ADC DMA code.