vl53lxx driver: change to I2C4 on fmu-v5 (I2C connector)

This commit is contained in:
DanielePettenuzzo
2018-05-22 12:21:45 +02:00
committed by Beat Küng
parent 5aa4759e2d
commit 4348852363
@@ -72,8 +72,8 @@
#include <board_config.h>
/* Configuration Constants */
#ifdef PX4_I2C_BUS_EXPANSION1
#define VL53LXX_BUS PX4_I2C_BUS_EXPANSION1 // I2C2 on fmu-v5
#ifdef PX4_I2C_BUS_EXPANSION3
#define VL53LXX_BUS PX4_I2C_BUS_EXPANSION3 // I2C port (I2C4) on fmu-v5
#else
#define VL53LXX_BUS PX4_I2C_BUS_EXPANSION // I2C on all others (pixracer)
#endif