navigator: don't omit printf value

There was a mismatch between the printf arguments and what was defined
in the fmt.
This commit is contained in:
Julian Oes
2016-12-14 19:44:55 +01:00
committed by Lorenz Meier
parent 3392e3f9f7
commit 8a6af658f3

View File

@@ -396,7 +396,8 @@ MissionFeasibilityChecker::check_dist_1wp(dm_item_t dm_current, size_t nMissionI
} else {
/* item is too far from home */
mavlink_log_critical(_mavlink_log_pub, "First waypoint too far: %d m,refusing mission", (int)dist_to_1wp, (int)dist_first_wp);
mavlink_log_critical(_mavlink_log_pub, "First waypoint too far: %d m > %d, refusing mission",
(int)dist_to_1wp, (int)dist_first_wp);
warning_issued = true;
return false;
}