CF/BF - SPRACINGF3 - Re-instate SONAR.

It appears @borisbstyle broke it with this commit. 907a184

After it was commented out @mikeller later deleted it in ce6d020

See https://github.com/cleanflight/cleanflight/issues/2755
This commit is contained in:
Hydra 2017-04-22 17:11:38 +01:00 committed by Dominic Clifton
parent 9726e52a54
commit 49471727be
1 changed files with 6 additions and 1 deletions

View File

@ -94,7 +94,7 @@
#define ACC_MPU6050_ALIGN CW270_DEG
#endif
#if defined(FLIP32F3OSD)
#if defined(SPRACINGF3) || defined(FLIP32F3OSD)
#define SONAR
#define SONAR_TRIGGER_PIN PB0
#define SONAR_ECHO_PIN PB1
@ -107,6 +107,11 @@
#define ENSURE_MAG_DATA_READY_IS_HIGH
#else //SPRACINGF3
#define SONAR
#define SONAR_TRIGGER_PIN PB0
#define SONAR_ECHO_PIN PB1
#define USE_BARO_MS5611
#define USE_BARO_BMP085