diff --git a/libraries/RC/APM2_RC.cpp b/libraries/RC/APM2_RC.cpp index ca56b8b5e0..247b10c1d7 100644 --- a/libraries/RC/APM2_RC.cpp +++ b/libraries/RC/APM2_RC.cpp @@ -198,7 +198,7 @@ APM2_RC::trim() radio_trim[y] = radio_in[y]; } void -AP_RC::twitch_servos(void) +APM2_RC::twitch_servos(uint8_t times) { // todo } @@ -324,4 +324,4 @@ void APM2_RC::force_out_6_7(void) if (TCNT3 > 5000) TCNT3 = 39990; } -#endif \ No newline at end of file +#endif diff --git a/libraries/RC/APM2_RC.h b/libraries/RC/APM2_RC.h index c2dd459a97..b4c536379c 100644 --- a/libraries/RC/APM2_RC.h +++ b/libraries/RC/APM2_RC.h @@ -14,6 +14,7 @@ class APM2_RC : public RC void output(); void set_ch_pwm(uint8_t ch, uint16_t pwm); void trim(); + void twitch_servos(uint8_t times); void force_out_0_1(void); void force_out_2_3(void); diff --git a/libraries/RC/AP_RC.h b/libraries/RC/AP_RC.h index ff878fa907..8118f980fd 100644 --- a/libraries/RC/AP_RC.h +++ b/libraries/RC/AP_RC.h @@ -14,6 +14,7 @@ class AP_RC : public RC void output(); void set_ch_pwm(uint8_t ch, uint16_t pwm); void trim(); + void twitch_servos(uint8_t times); int16_t radio_in[4]; int16_t radio_min[4];