Browse Source

Plane: fix incorrect misleading comment

mission-4.1.18
Peter Barker 6 years ago committed by Tom Pittenger
parent
commit
f004765494
  1. 2
      ArduPlane/ArduPlane.cpp

2
ArduPlane/ArduPlane.cpp

@ -289,7 +289,7 @@ void Plane::one_second_loop() @@ -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 &&

Loading…
Cancel
Save