From 398ceada7ed07409d4b10fecb58ebe89c4548f27 Mon Sep 17 00:00:00 2001 From: giacomo892 Date: Wed, 31 Oct 2018 10:41:16 +0100 Subject: [PATCH] claim flash space on F3 --- src/main/target/common.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/target/common.h b/src/main/target/common.h index a3652e50ad..9e8de78705 100755 --- a/src/main/target/common.h +++ b/src/main/target/common.h @@ -117,7 +117,7 @@ #define USE_PITOT #define USE_PITOT_ADC -//Enable VTX controll +//Enable VTX control #define USE_VTX_COMMON #define USE_VTX_CONTROL #define USE_VTX_SMARTAUDIO @@ -128,11 +128,13 @@ // Wind estimator #define USE_WIND_ESTIMATOR -#else // FLASH_SIZE < 128 +//save flash for F3 targets #define CLI_MINIMAL_VERBOSITY -#define SKIP_TASK_STATISTICS #define SKIP_CLI_COMMAND_HELP #define SKIP_CLI_RESOURCES -#define NAV_MAX_WAYPOINTS 30 -#define MAX_BOOTLOG_ENTRIES 32 + +#else // FLASH_SIZE < 128 + +#define SKIP_TASK_STATISTICS + #endif