Copter: set landing_complete flag to false on start-up

This commit is contained in:
Randy Mackay 2013-07-28 16:45:39 +09:00
parent 3b59cde1b8
commit 12da2d160a
1 changed files with 3 additions and 0 deletions

View File

@ -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