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
2b2dbf2a7f
commit
b5dbdab81e
|
@ -44,6 +44,10 @@ class APM_RC_Class
|
|||
virtual void enable_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:
|
||||
uint16_t _map_speed(uint16_t speed_hz) { return 2000000UL / speed_hz; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue