1
0
Fork 0
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:
Steve Evans 2023-02-08 20:54:41 +00:00 committed by GitHub
parent facf44b406
commit 0ac9962bd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 3 deletions

View file

@ -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();