lis3mdl i2c address is not board specific

This commit is contained in:
Daniel Agar
2018-02-09 22:40:34 +01:00
committed by Lorenz Meier
parent ad6df56438
commit cf54023c96
9 changed files with 2 additions and 10 deletions
@@ -58,9 +58,9 @@
#include "lis3mdl.h"
#include "board_config.h"
#ifdef PX4_I2C_OBDEV_LIS3MDL
#if defined(PX4_I2C_BUS_ONBOARD) || defined(PX4_I2C_BUS_EXPANSION)
#define LIS3MDLL_ADDRESS PX4_I2C_OBDEV_LIS3MDL
#define LIS3MDLL_ADDRESS 0x1e
device::Device *LIS3MDL_I2C_interface(int bus);