fmu-v5: add PX4_I2C_BUS_EXPANSION1 and 2 to all drivers that check all the busses

This commit is contained in:
DanielePettenuzzo
2018-06-06 17:31:33 +02:00
committed by Lorenz Meier
parent 01afeed967
commit 7a760ee501
10 changed files with 61 additions and 9 deletions
@@ -75,6 +75,9 @@ static constexpr struct ll40ls_bus_option {
#ifdef PX4_I2C_BUS_EXPANSION1
{ LL40LS_BUS_I2C_EXTERNAL, "/dev/ll40ls_ext1", PX4_I2C_BUS_EXPANSION1 },
#endif
#ifdef PX4_I2C_BUS_EXPANSION2
{ LL40LS_BUS_I2C_EXTERNAL, "/dev/ll40ls_ext2", PX4_I2C_BUS_EXPANSION2 },
#endif
#ifdef PX4_I2C_BUS_ONBOARD
{ LL40LS_BUS_I2C_INTERNAL, "/dev/ll40ls_int", PX4_I2C_BUS_ONBOARD },
#endif