mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Sub: Change the process for errors
This commit is contained in:
parent
ff27fb776d
commit
e52931c692
@ -734,9 +734,7 @@ void GCS_MAVLINK_Sub::handleMessage(const mavlink_message_t &msg)
|
||||
if (sub.far_from_EKF_origin(new_home_loc)) {
|
||||
break;
|
||||
}
|
||||
if (!sub.set_home(new_home_loc, true)) {
|
||||
// silently ignored
|
||||
}
|
||||
IGNORE_RETURN(sub.set_home(new_home_loc, true));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user