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.

This commit is contained in:
Lorenz Meier 2013-03-17 22:49:16 +01:00
parent 8d47b3c6d4
commit 26d45d5e34
1 changed files with 2 additions and 2 deletions

View File

@ -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()
/* 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;