Rover: sailboat class formatting fixes
move constructor to top of sailboat.h move var_info to be the last public declaration remove some spaces
This commit is contained in:
parent
4ae62a2983
commit
79feb4edb8
@ -20,8 +20,8 @@ class Sailboat
|
||||
{
|
||||
public:
|
||||
|
||||
// var_info for holding Parameter information
|
||||
static const struct AP_Param::GroupInfo var_info[];
|
||||
// constructor
|
||||
Sailboat();
|
||||
|
||||
// enabled
|
||||
bool sail_enabled() const { return enable > 0;}
|
||||
@ -29,9 +29,6 @@ public:
|
||||
// true if sailboat navigation (aka tacking) is enabled
|
||||
bool nav_enabled() const;
|
||||
|
||||
// constructor
|
||||
Sailboat();
|
||||
|
||||
// setup
|
||||
void init();
|
||||
|
||||
@ -76,6 +73,9 @@ public:
|
||||
FORCE_MOTOR = 2
|
||||
} throttle_state;
|
||||
|
||||
// var_info for holding Parameter information
|
||||
static const struct AP_Param::GroupInfo var_info[];
|
||||
|
||||
private:
|
||||
|
||||
// Check if we should assist with throttle
|
||||
|
Loading…
Reference in New Issue
Block a user