mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Use DMA Global Number for DMA Index (#2085)
This commit is contained in:
committed by
Peter Johnson
parent
82b2170feb
commit
db2c3dddd7
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user