mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 18:27:56 +08:00
arch/arm/src/imxrt/imxrt_lpspi.c: Fix some copy-paste errors for LPSPI3 and LPSPI4.
This commit is contained in:
@@ -325,6 +325,10 @@ static struct imxrt_lpspidev_s g_lpspi3dev =
|
||||
#ifdef CONFIG_IMXRT_LPSPI_INTERRUPTS
|
||||
.spiirq = IMXRT_IRQ_LPSPI3,
|
||||
#endif
|
||||
#ifdef CONFIG_IMXRT_LPSPI_DMA
|
||||
.rxch = DMAMAP_LPSPI3_RX,
|
||||
.txch = DMAMAP_LPSPI3_TX,
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -368,8 +372,8 @@ static struct imxrt_lpspidev_s g_lpspi4dev =
|
||||
.spiirq = IMXRT_IRQ_LPSPI4,
|
||||
#endif
|
||||
#ifdef CONFIG_IMXRT_LPSPI_DMA
|
||||
.rxch = DMAMAP_LPSPI1_RX,
|
||||
.txch = DMAMAP_LPSPI1_TX,
|
||||
.rxch = DMAMAP_LPSPI4_RX,
|
||||
.txch = DMAMAP_LPSPI4_TX,
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user