mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AP_HAL_F4Light: Remove set_overrides() method
This commit is contained in:
parent
b192c1c094
commit
d54ef79798
@ -315,15 +315,6 @@ uint8_t RCInput::read(uint16_t* periods, uint8_t len)
|
||||
}
|
||||
|
||||
|
||||
bool RCInput::set_overrides(int16_t *overrides, uint8_t len)
|
||||
{
|
||||
bool res = false;
|
||||
for (int i = 0; i < len; i++) {
|
||||
res |= set_override(i, overrides[i]);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
bool RCInput::set_override(uint8_t channel, int16_t override)
|
||||
{
|
||||
if (override < 0) return false; /* -1: no change. */
|
||||
|
@ -43,7 +43,6 @@ public:
|
||||
bool new_input() override;
|
||||
uint8_t num_channels() override;
|
||||
|
||||
bool set_overrides(int16_t *overrides, uint8_t len) override;
|
||||
bool set_override(uint8_t channel, int16_t override) override;
|
||||
void clear_overrides() override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user