Browse Source

Silence MS5611 driver, the perf command still captures the error count / rate. Unfortunately this is necessary as general users are concerned about something that is (at a reasonable rate) not actual safety critical.

sbg
Lorenz Meier 12 years ago
parent
commit
26d45d5e34
  1. 4
      apps/drivers/ms5611/ms5611.cpp

4
apps/drivers/ms5611/ms5611.cpp

@ -595,7 +595,7 @@ MS5611::cycle() @@ -595,7 +595,7 @@ MS5611::cycle()
* spam the console with the message.
*/
} else {
log("collection error %d", ret);
//log("collection error %d", ret);
}
/* reset the collection state machine and try again */
start_cycle();
@ -627,7 +627,7 @@ MS5611::cycle() @@ -627,7 +627,7 @@ MS5611::cycle()
/* measurement phase */
ret = measure();
if (ret != OK) {
log("measure error %d", ret);
//log("measure error %d", ret);
/* reset the collection state machine and try again */
start_cycle();
return;

Loading…
Cancel
Save