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:
parent
1630f1dce7
commit
1b0c567267
3 changed files with 12 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue