Use DMA Global Number for DMA Index (#2085)

This commit is contained in:
Thad House
2019-11-15 17:32:29 -08:00
committed by Peter Johnson
parent 82b2170feb
commit db2c3dddd7

View File

@@ -593,7 +593,7 @@ void HAL_StartDMA(HAL_DMAHandle handle, int32_t queueDepth, int32_t* status) {
}
dma->manager = std::make_unique<tDMAManager>(
1, queueDepth * dma->captureStore.captureSize, status);
g_DMA_index, queueDepth * dma->captureStore.captureSize, status);
if (*status != 0) {
return;
}