mirror of https://github.com/ArduPilot/ardupilot
Plane: minor comment corrections
This commit is contained in:
parent
5f5e0e65e0
commit
0034a7fc30
|
@ -829,7 +829,7 @@ bool Plane::set_target_location(const Location &target_loc)
|
||||||
#endif //AP_SCRIPTING_ENABLED || AP_EXTERNAL_CONTROL_ENABLED
|
#endif //AP_SCRIPTING_ENABLED || AP_EXTERNAL_CONTROL_ENABLED
|
||||||
|
|
||||||
#if AP_SCRIPTING_ENABLED
|
#if AP_SCRIPTING_ENABLED
|
||||||
// set target location (for use by scripting)
|
// get target location (for use by scripting)
|
||||||
bool Plane::get_target_location(Location& target_loc)
|
bool Plane::get_target_location(Location& target_loc)
|
||||||
{
|
{
|
||||||
switch (control_mode->mode_number()) {
|
switch (control_mode->mode_number()) {
|
||||||
|
|
Loading…
Reference in New Issue