1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-25 17:25:18 +03:00

Fix DSHOT on H7 by moving to DMA_RAM

This commit is contained in:
Pawel Spychalski (DzikuVx) 2021-06-15 13:19:22 +02:00
parent 1630f1dce7
commit 1b0c567267
3 changed files with 12 additions and 6 deletions

View file

@ -31,7 +31,7 @@
#endif
#if defined(STM32H7)
#define ADC_VALUES_ALIGNMENT(def) __attribute__ ((section(".DMA_RAM"))) def __attribute__ ((aligned (32)))
#define ADC_VALUES_ALIGNMENT(def) DMA_RAM def __attribute__ ((aligned (32)))
#else
#define ADC_VALUES_ALIGNMENT(def) def
#endif