mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Inverting #if statement
This commit is contained in:
parent
8530989c28
commit
47fc1c83b4
1 changed files with 7 additions and 3 deletions
|
@ -46,7 +46,12 @@
|
||||||
#define BARO
|
#define BARO
|
||||||
#define USE_BARO_BMP280
|
#define USE_BARO_BMP280
|
||||||
|
|
||||||
#ifndef RMDO
|
#ifdef RMDO
|
||||||
|
|
||||||
|
#undef USE_GPS
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
#define USE_BARO_MS5611
|
#define USE_BARO_MS5611
|
||||||
#define USE_BARO_BMP085
|
#define USE_BARO_BMP085
|
||||||
|
|
||||||
|
@ -58,8 +63,7 @@
|
||||||
#define USE_MAG_DATA_READY_SIGNAL
|
#define USE_MAG_DATA_READY_SIGNAL
|
||||||
#define ENSURE_MAG_DATA_READY_IS_HIGH
|
#define ENSURE_MAG_DATA_READY_IS_HIGH
|
||||||
#define MAG_INT_EXTI PC14
|
#define MAG_INT_EXTI PC14
|
||||||
#else
|
|
||||||
#undef USE_GPS
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define USE_FLASHFS
|
#define USE_FLASHFS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue