mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -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
71604405f4
commit
701157c350
@ -12,6 +12,9 @@
|
|||||||
/// @class RC_Channel
|
/// @class RC_Channel
|
||||||
/// @brief Object managing one RC channel
|
/// @brief Object managing one RC channel
|
||||||
class RC_Channel{
|
class RC_Channel{
|
||||||
|
private:
|
||||||
|
AP_Var_group _group; // must be before all vars to keep ctor init order correct
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// Constructor
|
/// Constructor
|
||||||
///
|
///
|
||||||
@ -91,7 +94,6 @@ class RC_Channel{
|
|||||||
float scale_output;
|
float scale_output;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
AP_Var_group _group;
|
|
||||||
bool _filter;
|
bool _filter;
|
||||||
int8_t _reverse;
|
int8_t _reverse;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user