Skip to content

Commit

Permalink
Merge pull request betaflight#11604 from haslinghuis/fix-spi4
Browse files Browse the repository at this point in the history
  • Loading branch information
blckmn committed May 20, 2022
2 parents 6527eb0 + e9a4589 commit b2644ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/drivers/dma_reqmap.c
Expand Up @@ -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) } },
Expand Down

0 comments on commit b2644ec

Please sign in to comment.