invert tx and rx in spi_dma_setup

remove indent sam_spi.c

removed indent
This commit is contained in:
bertrand 2023-12-02 20:21:29 +01:00 committed by Xiang Xiao
parent a4ad9b7579
commit 0ca8ae81d0
1 changed files with 4 additions and 4 deletions

View File

@ -1429,13 +1429,13 @@ static void spi_dma_setup(struct sam_spidev_s *priv)
{
/* Allocate a pair of DMA channels */
priv->dma_rx = sam_dmachannel(DMACH_FLAG_BEATSIZE_BYTE |
DMACH_FLAG_MEM_INCREMENT |
DMACH_FLAG_PERIPH_RXTRIG(priv->dma_rx_trig));
priv->dma_tx = sam_dmachannel(DMACH_FLAG_BEATSIZE_BYTE |
DMACH_FLAG_MEM_INCREMENT |
DMACH_FLAG_PERIPH_TXTRIG(priv->dma_tx_trig));
priv->dma_rx = sam_dmachannel(DMACH_FLAG_BEATSIZE_BYTE |
DMACH_FLAG_MEM_INCREMENT |
DMACH_FLAG_PERIPH_RXTRIG(priv->dma_rx_trig));
}
#endif