mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 01:09:07 +08:00
clean up an error message
This commit is contained in:
parent
93f26e3c96
commit
35009cd332
@ -565,7 +565,8 @@ MS5611::cycle()
|
||||
|
||||
/* perform collection */
|
||||
if (OK != collect()) {
|
||||
log("FATAL collection error - restarting\n");
|
||||
log("collection error");
|
||||
/* reset the collection state machine and try again */
|
||||
start();
|
||||
return;
|
||||
}
|
||||
@ -592,10 +593,8 @@ MS5611::cycle()
|
||||
}
|
||||
|
||||
/* measurement phase */
|
||||
if (OK != measure()) {
|
||||
log("FATAL measure error - restarting\n");
|
||||
start();
|
||||
}
|
||||
if (OK != measure())
|
||||
log("measure error");
|
||||
|
||||
/* next phase is collection */
|
||||
_collect_phase = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user