mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Do not abort if the sensor reset failed, only abort on no data
This commit is contained in:
parent
3157b06fee
commit
687612dd65
@ -95,10 +95,8 @@ int do_airspeed_calibration(int mavlink_fd)
|
||||
}
|
||||
|
||||
if (!paramreset_successful) {
|
||||
warn("FAILED to set scale / offsets for airspeed");
|
||||
mavlink_log_critical(mavlink_fd, "dpress reset failed");
|
||||
mavlink_log_info(mavlink_fd, CAL_FAILED_MSG, sensor_name);
|
||||
return ERROR;
|
||||
warn("FAILED to reset - assuming analog");
|
||||
mavlink_log_critical(mavlink_fd, "assuming analog sensor");
|
||||
}
|
||||
|
||||
while (calibration_counter < calibration_count) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user