ardupilot/ArduCopter/UserParameters.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
604 B
C++
Raw Normal View History

2018-08-21 10:02:40 -03:00
#include "UserParameters.h"
#include "config.h"
2018-08-21 10:02:40 -03:00
#if USER_PARAMS_ENABLED == ENABLED
// "USR" + 13 chars remaining for param name
2018-08-21 10:02:40 -03:00
const AP_Param::GroupInfo UserParameters::var_info[] = {
2018-08-21 10:02:40 -03:00
// 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),
2018-08-21 10:02:40 -03:00
AP_GROUPEND
};
UserParameters::UserParameters()
{
AP_Param::setup_object_defaults(this, var_info);
}
#endif // USER_PARAMS_ENABLED