Commit c16638d0 authored by DonLakeFlyer's avatar DonLakeFlyer

parent 5f269009
...@@ -232,8 +232,6 @@ private: ...@@ -232,8 +232,6 @@ private:
void _signalAllAttitudeValueChanges(void); void _signalAllAttitudeValueChanges(void);
int _chanMax(void) const;
bool _channelReversedParamValue(int channel); bool _channelReversedParamValue(int channel);
void _setChannelReversedParamValue(int channel, bool reversed); void _setChannelReversedParamValue(int channel, bool reversed);
...@@ -272,14 +270,10 @@ private: ...@@ -272,14 +270,10 @@ private:
static const int _attitudeControls = 5; static const int _attitudeControls = 5;
int _chanCount; ///< Number of actual rc channels available int _chanCount; ///< Number of actual rc channels available
static const int _chanMaxPX4 = 18; ///< Maximum number of supported rc channels, PX4 Firmware static const int _chanMax = 18; ///< Maximum number of support rc channels by this implementation
static const int _chanMaxAPM = 14; ///< Maximum number of supported rc channels, APM firmware
static const int _chanMaxAny = 18; ///< Maximum number of support rc channels by this implementation
static const int _chanMinimum = 5; ///< Minimum numner of channels required to run static const int _chanMinimum = 5; ///< Minimum numner of channels required to run
struct ChannelInfo _rgChannelInfo[_chanMaxAny]; ///< Information associated with each rc channel struct ChannelInfo _rgChannelInfo[_chanMax]; ///< Information associated with each rc channel
QList<int> _apmPossibleMissingRCChannelParams; ///< List of possible missing RC*_* params for APM stack
enum rcCalStates _rcCalState; ///< Current calibration state enum rcCalStates _rcCalState; ///< Current calibration state
int _rcCalStateCurrentChannel; ///< Current channel being worked on in rcCalStateIdentify and rcCalStateDetectInversion int _rcCalStateCurrentChannel; ///< Current channel being worked on in rcCalStateIdentify and rcCalStateDetectInversion
...@@ -302,9 +296,9 @@ private: ...@@ -302,9 +296,9 @@ private:
QString _revParamFormat; QString _revParamFormat;
bool _revParamIsBool; bool _revParamIsBool;
int _rcValueSave[_chanMaxAny]; ///< Saved values prior to detecting channel movement int _rcValueSave[_chanMax]; ///< Saved values prior to detecting channel movement
int _rcRawValue[_chanMaxAny]; ///< Current set of raw channel values int _rcRawValue[_chanMax]; ///< Current set of raw channel values
int _stickDetectChannel; int _stickDetectChannel;
int _stickDetectInitialValue; int _stickDetectInitialValue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment