diff options
author | Andrew Tridgell <tridge@samba.org> | 2013-12-04 12:06:05 +1100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-10 12:00:46 +0100 |
commit | c46ab017e12f5ccbe0f22ec77f90d8a8e28a8c63 (patch) | |
tree | bb48741a9e4358e64a5eff09595a50c76f93ee76 /src | |
parent | 51a1ad48c5734f259bc8c90b2b5f5626b83cbdbb (diff) | |
download | px4-firmware-c46ab017e12f5ccbe0f22ec77f90d8a8e28a8c63.tar.gz px4-firmware-c46ab017e12f5ccbe0f22ec77f90d8a8e28a8c63.tar.bz2 px4-firmware-c46ab017e12f5ccbe0f22ec77f90d8a8e28a8c63.zip |
lsm303d: make log distinctive with i2c disable included
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/lsm303d/lsm303d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/lsm303d/lsm303d.cpp b/src/drivers/lsm303d/lsm303d.cpp index 576bc184e..5c9a87eaa 100644 --- a/src/drivers/lsm303d/lsm303d.cpp +++ b/src/drivers/lsm303d/lsm303d.cpp @@ -734,7 +734,7 @@ LSM303D::check_extremes(const accel_report *arb) (is_extreme && (now - _last_log_reg_us > 250*1000)) || (now - _last_log_reg_us > 10*1000*1000)) { _last_log_reg_us = now; - ::dprintf(_accel_log_fd, "REG %llu", (unsigned long long)hrt_absolute_time()); + ::dprintf(_accel_log_fd, "XREG %llu", (unsigned long long)hrt_absolute_time()); for (uint8_t i=0; i<sizeof(reglist); i++) { ::dprintf(_accel_log_fd, " %02x:%02x", (unsigned)reglist[i], (unsigned)regval[i]); } |