Plane: manual fix `use_throttle_limits` and `use_battery_compensation`

This commit is contained in:
Iampete1 2024-02-21 18:50:52 +00:00 committed by Andrew Tridgell
parent f9db039dcc
commit 642a5e13d0
1 changed files with 4 additions and 4 deletions

View File

@ -136,10 +136,10 @@ public:
virtual bool is_taking_off() const;
// true if throttle min/max limits should be applied
bool use_throttle_limits() const;
virtual bool use_throttle_limits() const;
// true if voltage correction should be applied to throttle
bool use_battery_compensation() const;
virtual bool use_battery_compensation() const;
protected:
@ -400,10 +400,10 @@ public:
void run() override;
// true if throttle min/max limits should be applied
bool use_throttle_limits() const { return false; }
bool use_throttle_limits() const override { return false; }
// true if voltage correction should be applied to throttle
bool use_battery_compensation() const { return false; }
bool use_battery_compensation() const override { return false; }
};