mirror of
https://github.com/apache/nuttx.git
synced 2026-09-12 05:30:20 +00:00
Minor updates to comments and README files
This commit is contained in:
parent
f5bc559417
commit
b0859ea286
1 changed files with 4 additions and 2 deletions
|
|
@ -1487,11 +1487,13 @@ static void sam_freelinklist(struct sam_dmach_s *dmach)
|
|||
|
||||
DEBUGASSERT(desc->saddr != 0);
|
||||
|
||||
/* Get the physical address of the next desriptor in the list */
|
||||
/* Get the physical address of the next descriptor in the list */
|
||||
|
||||
paddr = desc->dscr;
|
||||
|
||||
/* Free the descriptor by simply nullifying it */
|
||||
/* Free the descriptor by simply nullifying it and bumping up the
|
||||
* semaphore count.
|
||||
*/
|
||||
|
||||
memset(desc, 0, sizeof(struct dma_linklist_s));
|
||||
sam_givedsem(dmac);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue