1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-19 14:25:11 +03:00

[Horus] Cosmetics

This commit is contained in:
Bertrand Songis 2016-02-20 19:15:22 +01:00
parent f926b85611
commit fe3efb9483
6 changed files with 92 additions and 102 deletions

View file

@ -203,14 +203,14 @@
#define ROTARY_ENCODER_NAVIGATION
#endif
#define __ALIGNED __attribute__((aligned(32)))
#if defined(SIMU)
#define __DMA
#elif defined(PCBSKY9X)
#define __DMA __attribute__((aligned(32)))
#elif defined(STM32F4)
#define __DMA __attribute__((section(".ram"), aligned(32)))
#else
#define __DMA __attribute__((aligned(32)))
#define __DMA __ALIGNED
#endif
#if defined(SIMU) || defined(CPUARM) || GCC_VERSION < 472