From f292dffac07057d91e2063e3c45c593123e0821c Mon Sep 17 00:00:00 2001 From: blckmn Date: Tue, 10 Jan 2017 14:50:47 +1100 Subject: [PATCH] Putting GPS back in - but disabling MAG on NAZE. --- src/main/target/NAZE/target.h | 2 ++ src/main/target/common.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/target/NAZE/target.h b/src/main/target/NAZE/target.h index 3f40b51654..1a047c40db 100644 --- a/src/main/target/NAZE/target.h +++ b/src/main/target/NAZE/target.h @@ -106,9 +106,11 @@ #define USE_BARO_BMP085 #define USE_BARO_BMP280 +/* #define MAG #define USE_MAG_HMC5883 #define MAG_HMC5883_ALIGN CW180_DEG +*/ //#define SONAR //#define SONAR_TRIGGER_PIN PB0 diff --git a/src/main/target/common.h b/src/main/target/common.h index 7531472b07..f71963ee9b 100644 --- a/src/main/target/common.h +++ b/src/main/target/common.h @@ -81,6 +81,7 @@ #if (FLASH_SIZE > 64) #define BLACKBOX +#define GPS #define TELEMETRY #define TELEMETRY_FRSKY #define TELEMETRY_HOTT @@ -92,7 +93,6 @@ #endif #if (FLASH_SIZE > 128) -#define GPS #define CMS #define USE_DASHBOARD #define USE_MSP_DISPLAYPORT @@ -109,3 +109,4 @@ #else #define SKIP_CLI_COMMAND_HELP #endif +