From e194e2fa759ac891380076d91e4baeb67c464cf5 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Mon, 13 Dec 2010 04:08:22 +0000 Subject: [PATCH] git-svn-id: https://arducopter.googlecode.com/svn/trunk@1118 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/RC_Channel/RC_Channel.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libraries/RC_Channel/RC_Channel.h b/libraries/RC_Channel/RC_Channel.h index 0722620772..06fa01512a 100644 --- a/libraries/RC_Channel/RC_Channel.h +++ b/libraries/RC_Channel/RC_Channel.h @@ -79,13 +79,14 @@ class RC_Channel{ // includes offset from PWM //int16_t get_radio_out(void); - - private: - bool _filter; + int16_t pwm_to_angle(); int16_t angle_to_pwm(); int16_t pwm_to_range(); int16_t range_to_pwm(); + + private: + bool _filter; int16_t _address; ///< EEPROM address for save/restore of P/I/D bool _type;