1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 08:15:26 +03:00

Enable RANGEFINDER_HCSR04_I2C for all targets with flash > 256k

This commit is contained in:
Michel Pastor 2019-03-24 23:09:28 +01:00
parent e379757718
commit 2f6361bc05
2 changed files with 2 additions and 1 deletions

View file

@ -74,6 +74,7 @@
#define USE_RANGEFINDER_MSP
#define USE_RANGEFINDER_BENEWAKE
#define USE_RANGEFINDER_VL53L0X
#define USE_RANGEFINDER_HCSR04_I2C
// Allow default optic flow boards
#define USE_OPFLOW

View file

@ -232,7 +232,7 @@
#endif
#endif
#if defined(USE_RANGEFINDER_HCSR04_I2C)
#if defined(USE_RANGEFINDER_HCSR04_I2C) && (defined(HCSR04_I2C_BUS) || defined(RANGEFINDER_I2C_BUS))
#if !defined(HCSR04_I2C_BUS)
#define HCSR04_I2C_BUS RANGEFINDER_I2C_BUS
#endif