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:
rmackay9 2012-03-25 21:13:31 +09:00
parent 2b2dbf2a7f
commit b5dbdab81e
1 changed files with 4 additions and 0 deletions

View File

@ -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; }