AP_Vehicle: fix compile when AP_EXTERNAL_CONTROL_ENABLED disabled
This commit is contained in:
parent
8f8e796e00
commit
d9eabcf411
@ -169,10 +169,10 @@ public:
|
||||
// returns true if the vehicle has crashed
|
||||
virtual bool is_crashed() const;
|
||||
|
||||
#if AP_EXTERNAL_CONTROL_ENABLED
|
||||
#if AP_SCRIPTING_ENABLED || AP_EXTERNAL_CONTROL_ENABLED
|
||||
// Method to control vehicle position for use by external control
|
||||
virtual bool set_target_location(const Location& target_loc) { return false; }
|
||||
#endif // AP_EXTERNAL_CONTROL_ENABLED
|
||||
#endif // AP_SCRIPTING_ENABLED || AP_EXTERNAL_CONTROL_ENABLED
|
||||
#if AP_SCRIPTING_ENABLED
|
||||
/*
|
||||
methods to control vehicle for use by scripting
|
||||
|
Loading…
Reference in New Issue
Block a user