mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Merged in david_s5/sam_xdmacc-edited-online-with-bitbucket-1463008336443 (pull request #2)
sam_xdmac.c edited online with Bitbucket
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user