mirror of https://github.com/ArduPilot/ardupilot
Re-order class members to avoid initializer-order warnings.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2073 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
71604405f4
commit
701157c350
|
@ -12,6 +12,9 @@
|
|||
/// @class RC_Channel
|
||||
/// @brief Object managing one RC channel
|
||||
class RC_Channel{
|
||||
private:
|
||||
AP_Var_group _group; // must be before all vars to keep ctor init order correct
|
||||
|
||||
public:
|
||||
/// Constructor
|
||||
///
|
||||
|
@ -91,7 +94,6 @@ class RC_Channel{
|
|||
float scale_output;
|
||||
|
||||
private:
|
||||
AP_Var_group _group;
|
||||
bool _filter;
|
||||
int8_t _reverse;
|
||||
|
||||
|
|
Loading…
Reference in New Issue