1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Merge pull request #4914 from mikeller/fix_define_stragglers

Fixed broken `USE_...`defines.
This commit is contained in:
Michael Keller 2018-01-09 14:09:52 +13:00 committed by GitHub
commit 1b76929a3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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