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)) { if (sub.far_from_EKF_origin(new_home_loc)) {
break; break;
} }
if (!sub.set_home(new_home_loc, true)) { IGNORE_RETURN(sub.set_home(new_home_loc, true));
// silently ignored
}
} }
break; break;
} }