From 5a2aad53adbaa94fddb5ffac95ef5df9dbe5175b Mon Sep 17 00:00:00 2001 From: howels Date: Sat, 11 Mar 2023 21:14:10 +0000 Subject: [PATCH] Prevent SPRACINGH7RF accidentally using external storage for logging when required for EXST (#12495) --- src/config/SPRACINGH7RF/config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/config/SPRACINGH7RF/config.h b/src/config/SPRACINGH7RF/config.h index 3350421ba3..905782446e 100644 --- a/src/config/SPRACINGH7RF/config.h +++ b/src/config/SPRACINGH7RF/config.h @@ -262,3 +262,8 @@ #define USE_SPI_GYRO #define GYRO_1_SPI_INSTANCE SPI6 #define GYRO_1_ALIGN CW270_DEG_FLIP + +// Prevent flash being used for logs as target requires EXST +#ifdef USE_FLASH +#undef USE_FLASH +#endif