mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 06:50:36 +08:00
lsm303d: dump I2C control registers in regdump
This commit is contained in:
committed by
Lorenz Meier
parent
1fb406ba09
commit
f24479c27a
@@ -1643,6 +1643,8 @@ LSM303D::print_registers()
|
||||
const char *name;
|
||||
} regmap[] = {
|
||||
{ ADDR_WHO_AM_I, "WHO_AM_I" },
|
||||
{ 0x02, "I2C_CONTROL1" },
|
||||
{ 0x15, "I2C_CONTROL2" },
|
||||
{ ADDR_STATUS_A, "STATUS_A" },
|
||||
{ ADDR_STATUS_M, "STATUS_M" },
|
||||
{ ADDR_CTRL_REG0, "CTRL_REG0" },
|
||||
|
||||
Reference in New Issue
Block a user