diff --git a/src/drivers/differential_pressure/ets/ets_airspeed.cpp b/src/drivers/differential_pressure/ets/ets_airspeed.cpp index 058731d0fe..a9c022658d 100644 --- a/src/drivers/differential_pressure/ets/ets_airspeed.cpp +++ b/src/drivers/differential_pressure/ets/ets_airspeed.cpp @@ -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])) diff --git a/src/drivers/differential_pressure/ms4525/ms4525_airspeed.cpp b/src/drivers/differential_pressure/ms4525/ms4525_airspeed.cpp index acffd7ebb6..575740d917 100644 --- a/src/drivers/differential_pressure/ms4525/ms4525_airspeed.cpp +++ b/src/drivers/differential_pressure/ms4525/ms4525_airspeed.cpp @@ -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])) diff --git a/src/drivers/differential_pressure/ms5525/MS5525_main.cpp b/src/drivers/differential_pressure/ms5525/MS5525_main.cpp index 58b54f3c1c..b0cf644e7b 100644 --- a/src/drivers/differential_pressure/ms5525/MS5525_main.cpp +++ b/src/drivers/differential_pressure/ms5525/MS5525_main.cpp @@ -53,6 +53,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])) @@ -179,12 +182,12 @@ int reset() static void ms5525_airspeed_usage() { - PX4_WARN("usage: ms5525_airspeed command [options]"); - PX4_WARN("options:"); - PX4_WARN("\t-b --bus i2cbus (%d)", PX4_I2C_BUS_DEFAULT); + PX4_INFO("usage: ms5525_airspeed command [options]"); + PX4_INFO("options:"); + PX4_INFO("\t-b --bus i2cbus (%d)", PX4_I2C_BUS_DEFAULT); PX4_INFO("\t-a --all"); - PX4_WARN("command:"); - PX4_WARN("\tstart|stop|reset"); + PX4_INFO("command:"); + PX4_INFO("\tstart|stop|reset"); } int diff --git a/src/drivers/differential_pressure/sdp3x/SDP3X_main.cpp b/src/drivers/differential_pressure/sdp3x/SDP3X_main.cpp index 2e02f9c05c..39844fce8f 100644 --- a/src/drivers/differential_pressure/sdp3x/SDP3X_main.cpp +++ b/src/drivers/differential_pressure/sdp3x/SDP3X_main.cpp @@ -52,6 +52,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])) @@ -191,12 +194,12 @@ int reset() static void sdp3x_airspeed_usage() { - PX4_WARN("usage: sdp3x_airspeed command [options]"); - PX4_WARN("options:"); - PX4_WARN("\t-b --bus i2cbus (%d)", PX4_I2C_BUS_DEFAULT); + PX4_INFO("usage: sdp3x_airspeed command [options]"); + PX4_INFO("options:"); + PX4_INFO("\t-b --bus i2cbus (%d)", PX4_I2C_BUS_DEFAULT); PX4_INFO("\t-a --all"); - PX4_WARN("command:"); - PX4_WARN("\tstart|stop|reset"); + PX4_INFO("command:"); + PX4_INFO("\tstart|stop|reset"); } int