sam_xdmac.c edited online with Bitbucket

This commit is contained in:
David Sidrane 2016-05-11 23:13:24 +00:00
parent 142a612713
commit 8517a303a5

View File

@ -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 */