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