From b5dbdab81e2f144eb7f05a5de6a84592bdf31a7f Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Sun, 25 Mar 2012 21:13:31 +0900 Subject: [PATCH] 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 --- libraries/APM_RC/APM_RC.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/APM_RC/APM_RC.h b/libraries/APM_RC/APM_RC.h index 7bfea34fd8..36a467e302 100644 --- a/libraries/APM_RC/APM_RC.h +++ b/libraries/APM_RC/APM_RC.h @@ -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; }