diff options
author | Andrew Tridgell <tridge@samba.org> | 2013-12-07 22:39:07 +1100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-10 12:05:29 +0100 |
commit | f24479c27a3627d315eee0f329da8aca8741eebe (patch) | |
tree | 6f122602a7ca65ee8fcefba8cf93064e3b8a253d | |
parent | 1fb406ba094a091c6976f752c3b6db71fc895605 (diff) | |
download | px4-firmware-f24479c27a3627d315eee0f329da8aca8741eebe.tar.gz px4-firmware-f24479c27a3627d315eee0f329da8aca8741eebe.tar.bz2 px4-firmware-f24479c27a3627d315eee0f329da8aca8741eebe.zip |
lsm303d: dump I2C control registers in regdump
-rw-r--r-- | src/drivers/lsm303d/lsm303d.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/lsm303d/lsm303d.cpp b/src/drivers/lsm303d/lsm303d.cpp index 94966a963..c535c4e87 100644 --- a/src/drivers/lsm303d/lsm303d.cpp +++ b/src/drivers/lsm303d/lsm303d.cpp @@ -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" }, |