mirror of https://github.com/ArduPilot/ardupilot
Copter: correct comment about scope of is_landing and is_taking_off
This commit is contained in:
parent
07b6c57173
commit
f9bc247121
|
@ -474,13 +474,13 @@ bool Copter::update_target_location(const Location &old_loc, const Location &new
|
|||
|
||||
#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();
|
||||
|
|
Loading…
Reference in New Issue