mirror of https://github.com/ArduPilot/ardupilot
uncrustify ArduPlane/Parameters.pde
This commit is contained in:
parent
4a44a67180
commit
ce04d62815
|
@ -1,17 +1,17 @@
|
||||||
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
|
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-
|
||||||
|
|
||||||
/*
|
/*
|
||||||
ArduPlane parameter definitions
|
* ArduPlane parameter definitions
|
||||||
|
*
|
||||||
|
* This firmware is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*/
|
||||||
|
|
||||||
This firmware is free software; you can redistribute it and/or
|
#define GSCALAR(v, name, def) { g.v.vtype, name, Parameters::k_param_ ## v, &g.v, {def_value : def} }
|
||||||
modify it under the terms of the GNU Lesser General Public
|
#define GGROUP(v, name, class) { AP_PARAM_GROUP, name, Parameters::k_param_ ## v, &g.v, {group_info : class::var_info} }
|
||||||
License as published by the Free Software Foundation; either
|
#define GOBJECT(v, name, class) { AP_PARAM_GROUP, name, Parameters::k_param_ ## v, &v, {group_info : class::var_info} }
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define GSCALAR(v, name, def) { g.v.vtype, name, Parameters::k_param_ ## v, &g.v, {def_value:def} }
|
|
||||||
#define GGROUP(v, name, class) { AP_PARAM_GROUP, name, Parameters::k_param_ ## v, &g.v, {group_info:class::var_info} }
|
|
||||||
#define GOBJECT(v, name, class) { AP_PARAM_GROUP, name, Parameters::k_param_ ## v, &v, {group_info:class::var_info} }
|
|
||||||
|
|
||||||
const AP_Param::Info var_info[] PROGMEM = {
|
const AP_Param::Info var_info[] PROGMEM = {
|
||||||
GSCALAR(format_version, "FORMAT_VERSION", 0),
|
GSCALAR(format_version, "FORMAT_VERSION", 0),
|
||||||
|
|
Loading…
Reference in New Issue