aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/hmc5883/hmc5883.cpp
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-04-20 21:42:10 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-04-20 21:42:10 +0200
commit071f9c648b71a421f12f6968a9367c5219abf076 (patch)
tree1a1d82036cf0c6ccad3bedbaa3a532f4cde5fac1 /src/drivers/hmc5883/hmc5883.cpp
parentf8232fa2698b37983f4c3f05926c9d6a7a107acf (diff)
downloadpx4-firmware-071f9c648b71a421f12f6968a9367c5219abf076.tar.gz
px4-firmware-071f9c648b71a421f12f6968a9367c5219abf076.tar.bz2
px4-firmware-071f9c648b71a421f12f6968a9367c5219abf076.zip
HMC5883: Do not spam the console on error and make everything worse.
Diffstat (limited to 'src/drivers/hmc5883/hmc5883.cpp')
-rw-r--r--src/drivers/hmc5883/hmc5883.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/hmc5883/hmc5883.cpp b/src/drivers/hmc5883/hmc5883.cpp
index cb97354ec..cdc9d3106 100644
--- a/src/drivers/hmc5883/hmc5883.cpp
+++ b/src/drivers/hmc5883/hmc5883.cpp
@@ -715,7 +715,7 @@ HMC5883::cycle()
/* perform collection */
if (OK != collect()) {
- log("collection error");
+ debug("collection error");
/* restart the measurement state machine */
start();
return;
@@ -742,7 +742,7 @@ HMC5883::cycle()
/* measurement phase */
if (OK != measure())
- log("measure error");
+ debug("measure error");
/* next phase is collection */
_collect_phase = true;