diff options
author | px4dev <px4@purgatory.org> | 2012-08-25 18:25:56 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-08-25 18:25:56 -0700 |
commit | 5c6b6038a73b21456de59834c901ea348806474e (patch) | |
tree | a1298bd31bdbe36c39446391002532c9559fe190 | |
parent | 544d427155167803ec482be9d13c1c8c6a7f34cc (diff) | |
download | px4-firmware-5c6b6038a73b21456de59834c901ea348806474e.tar.gz px4-firmware-5c6b6038a73b21456de59834c901ea348806474e.tar.bz2 px4-firmware-5c6b6038a73b21456de59834c901ea348806474e.zip |
turn off debug output from the mpu6000 driver
-rw-r--r-- | apps/drivers/mpu6000/mpu6000.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/drivers/mpu6000/mpu6000.cpp b/apps/drivers/mpu6000/mpu6000.cpp index 31e2b8888..3afb0ddda 100644 --- a/apps/drivers/mpu6000/mpu6000.cpp +++ b/apps/drivers/mpu6000/mpu6000.cpp @@ -298,8 +298,8 @@ MPU6000::MPU6000(int bus, spi_dev_e device) : _reads(0), _sample_perf(perf_alloc(PC_ELAPSED, "mpu6000_read")) { - // enable debug() calls - _debug_enabled = true; + // disable debug() calls + _debug_enabled = false; // default accel scale factors _accel_scale.x_offset = 0; @@ -463,7 +463,7 @@ MPU6000::probe() case MPU6000_REV_D8: case MPU6000_REV_D9: case MPU6000_REV_D10: - log("ID 0x%02x", _product); + debug("ID 0x%02x", _product); return OK; } |