uncrustify libraries/RC_Channel/RC_Channel.h

This commit is contained in:
uncrustify 2012-08-16 23:22:48 -07:00 committed by Pat Hickey
parent 9d22cec882
commit bb484e81e3

View File

@ -11,8 +11,8 @@
/// @class RC_Channel /// @class RC_Channel
/// @brief Object managing one RC channel /// @brief Object managing one RC channel
class RC_Channel{ class RC_Channel {
public: public:
/// Constructor /// Constructor
/// ///
/// @param key EEPROM storage key for the channel trim parameters. /// @param key EEPROM storage key for the channel trim parameters.
@ -22,7 +22,8 @@ class RC_Channel{
scale_output(1.0), scale_output(1.0),
_filter(false), _filter(false),
_high(1), _high(1),
_ch_out(ch_out) {} _ch_out(ch_out) {
}
// setup min and max radio values in CLI // setup min and max radio values in CLI
void update_min_max(); void update_min_max();
@ -88,11 +89,11 @@ class RC_Channel{
static void set_apm_rc(APM_RC_Class * apm_rc); static void set_apm_rc(APM_RC_Class * apm_rc);
void output(); void output();
void enable_out(); void enable_out();
static APM_RC_Class *_apm_rc; static APM_RC_Class * _apm_rc;
static const struct AP_Param::GroupInfo var_info[]; static const struct AP_Param::GroupInfo var_info[];
private: private:
bool _filter; bool _filter;
AP_Int8 _reverse; AP_Int8 _reverse;
AP_Int16 _dead_zone; AP_Int16 _dead_zone;