mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: set paraam default for user parameters
This commit is contained in:
parent
175c2c950e
commit
a57ed97ba1
ArduCopter
@ -11,3 +11,8 @@ const AP_Param::GroupInfo UserParameters::var_info[] = {
|
|||||||
|
|
||||||
AP_GROUPEND
|
AP_GROUPEND
|
||||||
};
|
};
|
||||||
|
|
||||||
|
UserParameters::UserParameters()
|
||||||
|
{
|
||||||
|
AP_Param::setup_object_defaults(this, var_info);
|
||||||
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
class UserParameters {
|
class UserParameters {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
UserParameters() {}
|
UserParameters();
|
||||||
static const struct AP_Param::GroupInfo var_info[];
|
static const struct AP_Param::GroupInfo var_info[];
|
||||||
|
|
||||||
// Put accessors to your parameter variables here
|
// Put accessors to your parameter variables here
|
||||||
|
Loading…
Reference in New Issue
Block a user