Skip to content

Commit

Permalink
Copter: Change the range of the preprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura committed Jun 2, 2024
1 parent eb8eeba commit 27ca4dc
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 27ca4dc

Please sign in to comment.