Browse Source

Copter: set landing_complete flag to false on start-up

master
Randy Mackay 12 years ago
parent
commit
12da2d160a
  1. 3
      ArduCopter/system.pde

3
ArduCopter/system.pde

@ -310,6 +310,9 @@ static void startup_ground(void) @@ -310,6 +310,9 @@ static void startup_ground(void)
// when we re-calibrate the gyros,
// all previous I values are invalid
reset_I_all();
// set landed flag
set_land_complete(true);
}
// returns true if the GPS is ok and home position is set

Loading…
Cancel
Save