forked from Archive/PX4-Autopilot
HMC5883: Do not spam the console on error and make everything worse.
This commit is contained in:
parent
f8232fa269
commit
071f9c648b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue