mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Enable DMA on AT32F435 SPI (#12327)
This commit is contained in:
parent
facf44b406
commit
0ac9962bd4
2 changed files with 17 additions and 3 deletions
|
@ -1021,7 +1021,7 @@ void init(void)
|
|||
#endif
|
||||
|
||||
// On H7/G4 allocate SPI DMA streams after motor timers as SPI DMA allocate will always be possible
|
||||
#if defined(STM32H7) || defined(STM32G4)
|
||||
#if defined(STM32H7) || defined(STM32G4) || defined(AT32F435)
|
||||
#ifdef USE_SPI
|
||||
// Attempt to enable DMA on all SPI busses
|
||||
spiInitBusDMA();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue