Fixed broken `USE_...`defines.

This commit is contained in:
Michael Keller 2018-01-09 11:00:22 +13:00
parent b1a84c8557
commit 01c34dde5e
2 changed files with 1 additions and 4 deletions

View File

@ -3,7 +3,7 @@
#include <platform.h>
#if defined(BARO) && (defined(USE_BARO_LPS) || defined(USE_BARO_SPI_LPS))
#if defined(USE_BARO) && (defined(USE_BARO_LPS) || defined(USE_BARO_SPI_LPS))
#include "build/build_config.h"

View File

@ -38,7 +38,6 @@
#define MPU6500_SPI_INSTANCE SPI1
// ACC section -- start
#define ACC
#define USE_ACC
#define USE_ACC_MPU6500
#define USE_ACC_SPI_MPU6500
@ -46,7 +45,6 @@
// ACC section -- end
// GYRO section -- start
#define GYRO
#define USE_GYRO
#define USE_GYRO_MPU6500
#define USE_GYRO_SPI_MPU6500
@ -54,7 +52,6 @@
// GYRO section -- end
//BARO
#define BARO
#define USE_BARO
#define USE_BARO_LPS
#define LPS_SPI_INSTANCE SPI3