mirror of https://github.com/ArduPilot/ardupilot
AP_Vehicle: base-class implementation of set_home
This commit is contained in:
parent
2b76f66ebc
commit
44891ce570
|
@ -290,8 +290,8 @@ public:
|
|||
virtual bool get_rate_ef_targets(Vector3f& rate_ef_targets) const { return false; }
|
||||
|
||||
#if AP_AHRS_ENABLED
|
||||
virtual bool set_home_to_current_location(bool lock) WARN_IF_UNUSED = 0;
|
||||
virtual bool set_home(const Location& loc, bool lock) WARN_IF_UNUSED = 0;
|
||||
virtual bool set_home_to_current_location(bool lock) WARN_IF_UNUSED { return false; }
|
||||
virtual bool set_home(const Location& loc, bool lock) WARN_IF_UNUSED { return false; }
|
||||
#endif
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Reference in New Issue