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 11:30:53 +0100 |
commit | 895dc3a2bbf172c7a2095d3a815cdd13d1388816 (patch) | |
tree | 5076b9f87a2cb38967b710b03f72810c7f392e98 /src/drivers | |
parent | 0349937a828392d50e736d32f4eec6242d65c9aa (diff) | |
download | px4-firmware-895dc3a2bbf172c7a2095d3a815cdd13d1388816.tar.gz px4-firmware-895dc3a2bbf172c7a2095d3a815cdd13d1388816.tar.bz2 px4-firmware-895dc3a2bbf172c7a2095d3a815cdd13d1388816.zip |
lsm303d: dump I2C control registers in regdump
Diffstat (limited to 'src/drivers')
-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 6da684c10..fc81c72a5 100644 --- a/src/drivers/lsm303d/lsm303d.cpp +++ b/src/drivers/lsm303d/lsm303d.cpp @@ -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" }, |