HMC5883: Do not spam the console on error and make everything worse.

This commit is contained in:
Lorenz Meier 2014-04-20 21:42:10 +02:00
parent f8232fa269
commit 071f9c648b
1 changed files with 2 additions and 2 deletions

View File

@ -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;