Plane: fix incorrect misleading comment

This commit is contained in:
Peter Barker 2019-04-01 11:18:16 +11:00 committed by Tom Pittenger
parent c3545be8a1
commit f004765494

View File

@ -289,7 +289,7 @@ void Plane::one_second_loop()
}
#endif
// update home position if armed and gps position has
// update home position if NOT armed and gps position has
// changed. Update every 5s at most
if (!arming.is_armed() &&
gps.last_message_time_ms() - last_home_update_ms > 5000 &&