forked from Archive/PX4-Autopilot
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:
parent
8d47b3c6d4
commit
26d45d5e34
|
@ -595,7 +595,7 @@ MS5611::cycle()
|
||||||
* spam the console with the message.
|
* spam the console with the message.
|
||||||
*/
|
*/
|
||||||
} else {
|
} else {
|
||||||
log("collection error %d", ret);
|
//log("collection error %d", ret);
|
||||||
}
|
}
|
||||||
/* reset the collection state machine and try again */
|
/* reset the collection state machine and try again */
|
||||||
start_cycle();
|
start_cycle();
|
||||||
|
@ -627,7 +627,7 @@ MS5611::cycle()
|
||||||
/* measurement phase */
|
/* measurement phase */
|
||||||
ret = measure();
|
ret = measure();
|
||||||
if (ret != OK) {
|
if (ret != OK) {
|
||||||
log("measure error %d", ret);
|
//log("measure error %d", ret);
|
||||||
/* reset the collection state machine and try again */
|
/* reset the collection state machine and try again */
|
||||||
start_cycle();
|
start_cycle();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue