aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2014-07-03 11:30:05 +1000
committerLorenz Meier <lm@inf.ethz.ch>2014-07-08 11:45:11 +0200
commite4e152a85b5a29cada6559197580a9dce93e45e3 (patch)
tree758cf1d1ecb6c1b360c3254c2756ec59657cc328
parent19dbbf17e8b2fd37e43aa1a5cb6ae8c39012ab0f (diff)
downloadpx4-firmware-e4e152a85b5a29cada6559197580a9dce93e45e3.tar.gz
px4-firmware-e4e152a85b5a29cada6559197580a9dce93e45e3.tar.bz2
px4-firmware-e4e152a85b5a29cada6559197580a9dce93e45e3.zip
FMUv2: added define for PX4_I2C_BUS_ONBOARD
needed for hmc5883 on main bus (for FMUv3)
-rw-r--r--src/drivers/boards/px4fmu-v2/board_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/boards/px4fmu-v2/board_config.h b/src/drivers/boards/px4fmu-v2/board_config.h
index 2ed51d7b1..0190a5b5b 100644
--- a/src/drivers/boards/px4fmu-v2/board_config.h
+++ b/src/drivers/boards/px4fmu-v2/board_config.h
@@ -134,7 +134,8 @@ __BEGIN_DECLS
/* I2C busses */
#define PX4_I2C_BUS_EXPANSION 1
-#define PX4_I2C_BUS_LED 2
+#define PX4_I2C_BUS_ONBOARD 2
+#define PX4_I2C_BUS_LED PX4_I2C_BUS_ONBOARD
/* Devices on the onboard bus.
*