mirror of https://github.com/ArduPilot/ardupilot
22 lines
593 B
C++
22 lines
593 B
C++
#include "UserParameters.h"
|
|
#include "config.h"
|
|
|
|
#if USER_PARAMS_ENABLED
|
|
// "USR" + 13 chars remaining for param name
|
|
const AP_Param::GroupInfo UserParameters::var_info[] = {
|
|
|
|
// Put your parameters definition here
|
|
// Note the maximum length of parameter name is 13 chars
|
|
AP_GROUPINFO("_INT8", 0, UserParameters, _int8, 0),
|
|
AP_GROUPINFO("_INT16", 1, UserParameters, _int16, 0),
|
|
AP_GROUPINFO("_FLOAT", 2, UserParameters, _float, 0),
|
|
|
|
AP_GROUPEND
|
|
};
|
|
|
|
UserParameters::UserParameters()
|
|
{
|
|
AP_Param::setup_object_defaults(this, var_info);
|
|
}
|
|
#endif // USER_PARAMS_ENABLED
|