mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 00:30:23 +00:00
arch/arm/src/samv7: Correct an error in RX DMA setup.
This commit is contained in:
parent
3cd41b0408
commit
b12f693b8b
1 changed files with 1 additions and 1 deletions
|
|
@ -981,7 +981,7 @@ static inline uint32_t sam_rxcc(struct sam_xdmach_s *xdmach)
|
|||
/* Look up the DMA channel code for RX: Peripheral is the source. */
|
||||
|
||||
field = sam_source_channel(xdmach, pid);
|
||||
regval |= (field << XDMACH_CC_CSIZE_SHIFT);
|
||||
regval |= (field << XDMACH_CC_PERID_SHIFT);
|
||||
|
||||
#if 0 /* Not supported */
|
||||
/* 10. Set SWREQ to use software request (only relevant for a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue