diff --git a/libraries/AP_HAL_PX4/RCInput.cpp b/libraries/AP_HAL_PX4/RCInput.cpp index bbb798b772..aa59eddac3 100644 --- a/libraries/AP_HAL_PX4/RCInput.cpp +++ b/libraries/AP_HAL_PX4/RCInput.cpp @@ -101,15 +101,6 @@ uint8_t PX4RCInput::read(uint16_t* periods, uint8_t len) return len; } -bool PX4RCInput::set_overrides(int16_t *overrides, uint8_t len) -{ - bool res = false; - for (uint8_t i = 0; i < len; i++) { - res |= set_override(i, overrides[i]); - } - return res; -} - bool PX4RCInput::set_override(uint8_t channel, int16_t override) { if (override < 0) { return false; /* -1: no change. */ diff --git a/libraries/AP_HAL_PX4/RCInput.h b/libraries/AP_HAL_PX4/RCInput.h index 9421416eb7..9bf3fe002f 100644 --- a/libraries/AP_HAL_PX4/RCInput.h +++ b/libraries/AP_HAL_PX4/RCInput.h @@ -24,7 +24,6 @@ public: } - bool set_overrides(int16_t *overrides, uint8_t len) override; bool set_override(uint8_t channel, int16_t override) override; void clear_overrides() override;