From 6a41cdb914e2d71de95cc341d383058fcc4c9f43 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Tue, 26 Feb 2019 13:07:07 +1300 Subject: [PATCH] Temporarily disable SPI transactions for the 4.0 release. --- src/main/target/STM32F4DISCOVERY/target.h | 1 + src/main/target/common_pre.h | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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)