mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 19:23:34 +08:00
lis3mdl i2c address is not board specific
This commit is contained in:
committed by
Lorenz Meier
parent
ad6df56438
commit
cf54023c96
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user