mirror of https://github.com/ArduPilot/ardupilot
SITL: fixed dup param index
This commit is contained in:
parent
a98d813197
commit
2ed1aafcba
|
@ -94,7 +94,6 @@ const AP_Param::GroupInfo SITL::var_info[] = {
|
|||
AP_GROUPINFO("GP2_GLITCH", 59, SITL, gps2_glitch, 0),
|
||||
AP_GROUPINFO("ENGINE_FAIL", 60, SITL, engine_fail, 0),
|
||||
AP_GROUPINFO("GPS2_TYPE", 61, SITL, gps2_type, SITL::GPS_TYPE_UBLOX),
|
||||
AP_GROUPINFO("ODOM_ENABLE", 62, SITL, odom_enable, 0),
|
||||
AP_SUBGROUPEXTENSION("", 62, SITL, var_info3),
|
||||
AP_SUBGROUPEXTENSION("", 63, SITL, var_info2),
|
||||
AP_GROUPEND
|
||||
|
@ -204,6 +203,7 @@ const AP_Param::GroupInfo SITL::var_info2[] = {
|
|||
|
||||
// third table of user settable parameters for SITL.
|
||||
const AP_Param::GroupInfo SITL::var_info3[] = {
|
||||
AP_GROUPINFO("ODOM_ENABLE", 1, SITL, odom_enable, 0),
|
||||
AP_GROUPINFO("MAG1_DEVID", 3, SITL, mag_devid[0], 97539),
|
||||
AP_GROUPINFO("MAG2_DEVID", 4, SITL, mag_devid[1], 131874),
|
||||
AP_GROUPINFO("MAG3_DEVID", 5, SITL, mag_devid[2], 263178),
|
||||
|
|
Loading…
Reference in New Issue