diff --git a/radio/src/opentx.h b/radio/src/opentx.h index 075e07009..4b6c424ff 100644 --- a/radio/src/opentx.h +++ b/radio/src/opentx.h @@ -212,7 +212,9 @@ #define ROTARY_ENCODER_NAVIGATION #endif -#if defined(PCBSKY9X) +#if defined(SIMU) + #define __DMA +#elif defined(PCBSKY9X) #define __DMA __attribute__((aligned(32))) #elif defined(STM32F4) #define __DMA __attribute__((section(".ram")))