From 8517a303a5134db236dd63883a85baf15839e84d Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 11 May 2016 23:13:24 +0000 Subject: [PATCH] sam_xdmac.c edited online with Bitbucket --- arch/arm/src/samv7/sam_xdmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/samv7/sam_xdmac.c b/arch/arm/src/samv7/sam_xdmac.c index 5519c87c79..de7127f5bc 100644 --- a/arch/arm/src/samv7/sam_xdmac.c +++ b/arch/arm/src/samv7/sam_xdmac.c @@ -1809,7 +1809,7 @@ int sam_dmatxsetup(DMA_HANDLE handle, uint32_t paddr, uint32_t maddr, /* Set up the maximum size transfer */ ret = sam_txbuffer(xdmach, paddr, maddr, maxtransfer); - if (ret == OK); + if (ret == OK) { /* Decrement the number of bytes left to transfer */