mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
arch/arm/src/sama5/sam_dmac.c: Appease nxstyle
This commit is contained in:
committed by
Xiang Xiao
parent
260b1af52b
commit
cc9c652a58
@@ -1714,7 +1714,9 @@ static inline int sam_multiple(struct sam_dmach_s *dmach)
|
||||
|
||||
sam_putdmach(dmach, dmach->cfg, SAM_DMAC_CH_CFG_OFFSET);
|
||||
|
||||
/* Program the DSCR register with the pointer to the firstlink list entry. */
|
||||
/* Program the DSCR register with the pointer to the firstlink list
|
||||
* entry.
|
||||
*/
|
||||
|
||||
sam_putdmach(dmach, (uint32_t)llhead, SAM_DMAC_CH_DSCR_OFFSET);
|
||||
|
||||
@@ -2299,7 +2301,9 @@ int sam_dmastart(DMA_HANDLE handle, dma_callback_t callback, void *arg)
|
||||
|
||||
if (dmach->llhead)
|
||||
{
|
||||
/* Save the callback info. This will be invoked whent the DMA completes */
|
||||
/* Save the callback info. This will be invoked whent the DMA
|
||||
* completes
|
||||
*/
|
||||
|
||||
dmach->callback = callback;
|
||||
dmach->arg = arg;
|
||||
|
||||
Reference in New Issue
Block a user