mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:18:54 +08:00
vl53lxx driver: change to I2C4 on fmu-v5 (I2C connector)
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user