Skip to content

Commit

Permalink
Fix landed detetion
Browse files Browse the repository at this point in the history
  • Loading branch information
kripper committed Dec 7, 2024
1 parent a091871 commit c0aa410
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/src/main/java/sq/rogue/rosettadrone/DroneModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -1970,11 +1970,7 @@ void doLand() {
//setMavFlightMode(ArduCopterFlightModes.LAND);
mFlightController.startLanding(djiError -> {
if (djiError == null) {
if(!useMissionManager) {
// TODO: Wait until landed
// Keeping old version
landed();
}
landed();

} else {
Log.e(TAG, "do_land(): " + djiError.toString());
Expand Down

0 comments on commit c0aa410

Please sign in to comment.