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:
commit
1b76929a3a
2 changed files with 1 additions and 4 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue