From 238335dec621f6c4e60ef5650138e3eb8e85f046 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Sat, 8 Aug 2015 09:32:31 +0200 Subject: [PATCH] Compilation error on VC++ --- radio/src/opentx.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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")))