Skip to content

Commit

Permalink
Copter: correct comment about scope of is_landing and is_taking_off
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura authored and peterbarker committed Jul 23, 2024
1 parent eb8eeba commit ff6a0d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ArduCopter/Copter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,13 +448,13 @@ bool Copter::has_ekf_failsafed() const

#endif // AP_SCRIPTING_ENABLED

// returns true if vehicle is landing. Only used by Lua scripts
// returns true if vehicle is landing.
bool Copter::is_landing() const
{
return flightmode->is_landing();
}

// returns true if vehicle is taking off. Only used by Lua scripts
// returns true if vehicle is taking off.
bool Copter::is_taking_off() const
{
return flightmode->is_taking_off();
Expand Down

0 comments on commit ff6a0d8

Please sign in to comment.