diff --git a/src/main/target/STM32F4DISCOVERY/target.h b/src/main/target/STM32F4DISCOVERY/target.h index 9257ce97c..eb3195fdb 100644 --- a/src/main/target/STM32F4DISCOVERY/target.h +++ b/src/main/target/STM32F4DISCOVERY/target.h @@ -24,6 +24,7 @@ #define USBD_PRODUCT_STRING "DISCF4" #define USE_VTX_TABLE +#define USE_SPI_TRANSACTION //LEDs #define LED0_PIN PD12 diff --git a/src/main/target/common_pre.h b/src/main/target/common_pre.h index 7ab2657f8..01b90e816 100644 --- a/src/main/target/common_pre.h +++ b/src/main/target/common_pre.h @@ -63,7 +63,8 @@ #define USE_USB_MSC #define USE_PERSISTENT_MSC_RTC #define USE_DMA_SPEC -#define USE_SPI_TRANSACTION +// Re-enable this after 4.0 has been released, and remove the define from STM32F4DISCOVERY +//#define USE_SPI_TRANSACTION #if defined(STM32F40_41xxx) || defined(STM32F411xE) #define USE_OVERCLOCK @@ -86,7 +87,8 @@ #define USE_PERSISTENT_MSC_RTC #define USE_MCO #define USE_DMA_SPEC -#define USE_SPI_TRANSACTION +// Re-enable this after 4.0 has been released, and remove the define from STM32F4DISCOVERY +//#define USE_SPI_TRANSACTION #endif // STM32F7 #if defined(STM32F4) || defined(STM32F7)