diff options
Diffstat (limited to 'include/dma.h')
-rw-r--r-- | include/dma.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/dma.h b/include/dma.h index 9da83508ad..448e43e7a7 100644 --- a/include/dma.h +++ b/include/dma.h @@ -77,19 +77,12 @@ void dma_disable_all(void); * * @param chan DMA channel to check, from dma_get_channel() * @param orig_count Original number of bytes requested on channel - * @return number of bytes completed on a channel + * @return number of bytes completed on a channel, or 0 if this channel is + * not enabled */ int dma_bytes_done(dma_chan_t *chan, int orig_count); /** - * Check if DMA for a given channel is enabled. - * - * @param chan DMA channel to check, from dma_get_channel() - * @return true if DMA is enabled on the channel, false otherwise - */ -bool dma_is_enabled(dma_chan_t *chan); - -/** * Start a previously-prepared dma channel * * @param chan Channel to start, from dma_get_channel() |