mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Fix SPI4 DMA assignment
This commit is contained in:
parent
1a6fa4ddbd
commit
e9a4589a76
1 changed files with 2 additions and 2 deletions
|
@ -390,8 +390,8 @@ static const dmaPeripheralMapping_t dmaPeripheralMapping[] = {
|
|||
{ DMA_PERIPH_SPI_MISO, SPIDEV_3, { DMA(1, 0, 0), DMA(1, 2, 0) } },
|
||||
|
||||
#if defined(STM32F411xE) || defined(STM32F745xx) || defined(STM32F746xx) || defined(STM32F765xx) || defined(STM32F722xx)
|
||||
{ DMA_PERIPH_SPI_MOSI, SPIDEV_4, { DMA(2, 1, 4) } },
|
||||
{ DMA_PERIPH_SPI_MISO, SPIDEV_4, { DMA(2, 0, 4) } },
|
||||
{ DMA_PERIPH_SPI_MOSI, SPIDEV_4, { DMA(2, 1, 4), DMA(2, 4, 5) } },
|
||||
{ DMA_PERIPH_SPI_MISO, SPIDEV_4, { DMA(2, 0, 4), DMA(2, 3, 5) } },
|
||||
|
||||
#ifdef USE_EXTENDED_SPI_DEVICE
|
||||
{ DMA_PERIPH_SPI_MOSI, SPIDEV_5, { DMA(2, 6, 7) } },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue