Fixed DMA fifo clear()

This commit is contained in:
Raphael Coeffic
2022-08-11 12:15:46 +02:00
committed by Raphael Coeffic
parent 4eeef9e916
commit dec73c5fb1
+1 -1
View File
@@ -36,7 +36,7 @@ class DMAFifo
void clear() void clear()
{ {
ridx = N - stream->NDTR; ridx = 0;
} }
uint32_t size() uint32_t size()