Skip to content

Commit

Permalink
Sub: better check and text message for baro calibration failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxxzer committed Apr 23, 2018
1 parent 7caca6a commit 0223cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduSub/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ void GCS_MAVLINK_Sub::handle_change_alt_request(AP_Mission::Mission_Command &cmd

MAV_RESULT GCS_MAVLINK_Sub::_handle_command_preflight_calibration_baro()
{
if (!sub.sensor_health.depth) {
if (!sub.control_check_barometer()) {
return MAV_RESULT_FAILED;
}

Expand Down

0 comments on commit 0223cf7

Please sign in to comment.