Copter: correct comment about scope of is_landing and is_taking_off

This commit is contained in:
muramura 2024-06-02 17:09:24 +09:00 committed by Peter Barker
parent 07b6c57173
commit f9bc247121
1 changed files with 2 additions and 2 deletions

View File

@ -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();