mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
arch/arm/src/samv7: Correct an error in RX DMA setup.
This commit is contained in:
committed by
Gregory Nutt
parent
3cd41b0408
commit
b12f693b8b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user