mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
arch/stm32h7: Fix syntax error
arch/arm/src/stm32h7/stm32_dma.c:
* stm32_bdma_residual(): Fix missing semicolon.
This commit is contained in:
committed by
Abdelatif Guettouche
parent
a0f9da20a2
commit
92c61058c1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user