uncrustify ArduPlane/Parameters.h

This commit is contained in:
uncrustify 2012-08-21 19:19:51 -07:00 committed by Pat Hickey
parent 3bee769405
commit 70048f3d6f

View File

@ -11,24 +11,24 @@ class Parameters {
public:
/*
The value of k_format_version determines whether the existing
eeprom data is considered valid. You should only change this
value under the following circumstances:
1) the meaning of an existing eeprom parameter changes
2) the value of an existing k_param_* enum value changes
Adding a new parameter should _not_ require a change to
k_format_version except under special circumstances. If you
change it anyway then all ArduPlane users will need to reload all
their parameters. We want that to be an extremely rare
thing. Please do not just change it "just in case".
To determine if a k_param_* value has changed, use the rules of
C++ enums to work out the value of the neighboring enum
values. If you don't know the C++ enum rules then please ask for
help.
* The value of k_format_version determines whether the existing
* eeprom data is considered valid. You should only change this
* value under the following circumstances:
*
* 1) the meaning of an existing eeprom parameter changes
*
* 2) the value of an existing k_param_* enum value changes
*
* Adding a new parameter should _not_ require a change to
* k_format_version except under special circumstances. If you
* change it anyway then all ArduPlane users will need to reload all
* their parameters. We want that to be an extremely rare
* thing. Please do not just change it "just in case".
*
* To determine if a k_param_* value has changed, use the rules of
* C++ enums to work out the value of the neighboring enum
* values. If you don't know the C++ enum rules then please ask for
* help.
*/
//////////////////////////////////////////////////////////////////
@ -379,7 +379,8 @@ public:
pidTeThrottle (THROTTLE_TE_P, THROTTLE_TE_I, THROTTLE_TE_D, THROTTLE_TE_INT_MAX),
pidNavPitchAltitude (NAV_PITCH_ALT_P, NAV_PITCH_ALT_I, NAV_PITCH_ALT_D, NAV_PITCH_ALT_INT_MAX_CM),
pidWheelSteer (0, 0, 0, 0)
{}
{
}
};
extern const AP_Param::Info var_info[];