mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
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
d257e12dc0
commit
85d006c290
@ -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
Block a user