From 09bb6d93007adb1bb61ded1c9e8f519c75baeeb7 Mon Sep 17 00:00:00 2001 From: Martin Budden Date: Sat, 22 Oct 2016 17:46:00 +0100 Subject: [PATCH] Reduce F1 RAM usage and CC3D ROM usage --- src/main/msp/msp_serial.h | 2 +- src/main/target/CC3D/target.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/msp/msp_serial.h b/src/main/msp/msp_serial.h index d9bb1fe80..57704f33a 100644 --- a/src/main/msp/msp_serial.h +++ b/src/main/msp/msp_serial.h @@ -40,7 +40,7 @@ typedef enum { #define MSP_PORT_INBUF_SIZE 192 #ifdef USE_FLASHFS #ifdef STM32F1 -#define MSP_PORT_DATAFLASH_BUFFER_SIZE 2048 +#define MSP_PORT_DATAFLASH_BUFFER_SIZE 1024 #else #define MSP_PORT_DATAFLASH_BUFFER_SIZE 4096 #endif diff --git a/src/main/target/CC3D/target.h b/src/main/target/CC3D/target.h index b6ef71a96..6a7a740c1 100644 --- a/src/main/target/CC3D/target.h +++ b/src/main/target/CC3D/target.h @@ -106,7 +106,7 @@ // USART3, PB11 (Flexport) #define BIND_PIN PB11 -#define USE_SERIAL_4WAY_BLHELI_INTERFACE +//#define USE_SERIAL_4WAY_BLHELI_INTERFACE //#define SONAR //#define SONAR_ECHO_PIN PB0