mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-04 06:11:36 +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
@@ -384,6 +384,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