mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 12:13:34 +08:00
airspeed drivers: add PX4_I2C_BUS_ONBOARD as possible bus
This commit is contained in:
committed by
Beat Küng
parent
82b3e57abb
commit
325fe16178
@@ -249,6 +249,9 @@ int bus_options[] = {
|
||||
#ifdef PX4_I2C_BUS_EXPANSION2
|
||||
PX4_I2C_BUS_EXPANSION2,
|
||||
#endif
|
||||
#ifdef PX4_I2C_BUS_ONBOARD
|
||||
PX4_I2C_BUS_ONBOARD,
|
||||
#endif
|
||||
};
|
||||
|
||||
#define NUM_BUS_OPTIONS (sizeof(bus_options)/sizeof(bus_options[0]))
|
||||
|
||||
Reference in New Issue
Block a user