5
0
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:
murata 2022-02-10 23:04:33 +09:00 committed by Tom Pittenger
parent ff27fb776d
commit e52931c692

View File

@ -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;
}