arch/stm32h7: Fix syntax error

arch/arm/src/stm32h7/stm32_dma.c:

     * stm32_bdma_residual(): Fix missing semicolon.
This commit is contained in:
Nathan Hartman 2021-04-04 16:13:04 -04:00 committed by Abdelatif Guettouche
parent a0f9da20a2
commit 92c61058c1

View File

@ -1969,7 +1969,7 @@ static void stm32_bdma_start(DMA_HANDLE handle, dma_callback_t callback,
static size_t stm32_bdma_residual(DMA_HANDLE handle) static size_t stm32_bdma_residual(DMA_HANDLE handle)
{ {
DMA_CHANNEL dmachan = (DMA_CHANNEL)handle; DMA_CHANNEL dmachan = (DMA_CHANNEL)handle;
uint32_t residual = 0 uint32_t residual = 0;
DEBUGASSERT(handle != NULL); DEBUGASSERT(handle != NULL);
DEBUGASSERT(dmachan->ctrl == BDMA); DEBUGASSERT(dmachan->ctrl == BDMA);