mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 19:10:35 +08:00
lsm303d: dump I2C control registers in regdump
This commit is contained in:
committed by
Lorenz Meier
parent
0349937a82
commit
895dc3a2bb
@@ -1574,6 +1574,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