diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-20 21:42:10 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-20 21:42:10 +0200 |
commit | 071f9c648b71a421f12f6968a9367c5219abf076 (patch) | |
tree | 1a1d82036cf0c6ccad3bedbaa3a532f4cde5fac1 /src | |
parent | f8232fa2698b37983f4c3f05926c9d6a7a107acf (diff) | |
download | px4-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')
-rw-r--r-- | src/drivers/hmc5883/hmc5883.cpp | 4 |
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; |