airspeed drivers: add PX4_I2C_BUS_ONBOARD as possible bus

This commit is contained in:
DanielePettenuzzo
2018-06-21 07:37:53 +02:00
committed by Beat Küng
parent 82b3e57abb
commit 325fe16178
4 changed files with 22 additions and 10 deletions
@@ -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]))