AP_Vehicle: base-class implementation of set_home

This commit is contained in:
Peter Barker 2024-04-05 10:36:20 +11:00 committed by Andrew Tridgell
parent 2b76f66ebc
commit 44891ce570
1 changed files with 2 additions and 2 deletions

View File

@ -290,8 +290,8 @@ public:
virtual bool get_rate_ef_targets(Vector3f& rate_ef_targets) const { return false; } virtual bool get_rate_ef_targets(Vector3f& rate_ef_targets) const { return false; }
#if AP_AHRS_ENABLED #if AP_AHRS_ENABLED
virtual bool set_home_to_current_location(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 = 0; virtual bool set_home(const Location& loc, bool lock) WARN_IF_UNUSED { return false; }
#endif #endif
protected: protected: