mirror of https://github.com/ArduPilot/ardupilot
APM_RC - moved Force_Out0_Out1, Force_Out2_Out3 and Force_Out6_Out6 to APM_RC parent class because it's already implemented in the APM1 and APM2 child classes anyway
This commit is contained in:
parent
2324be7e68
commit
cf1a6f8ab8
|
@ -44,6 +44,10 @@ class APM_RC_Class
|
||||||
virtual void enable_out(uint8_t) = 0;
|
virtual void enable_out(uint8_t) = 0;
|
||||||
virtual void disable_out(uint8_t) = 0;
|
virtual void disable_out(uint8_t) = 0;
|
||||||
|
|
||||||
|
virtual void Force_Out0_Out1(void) = 0;
|
||||||
|
virtual void Force_Out2_Out3(void) = 0;
|
||||||
|
virtual void Force_Out6_Out7(void) = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
uint16_t _map_speed(uint16_t speed_hz) { return 2000000UL / speed_hz; }
|
uint16_t _map_speed(uint16_t speed_hz) { return 2000000UL / speed_hz; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue