mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 01:01:36 +08:00
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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user