AP_BoardConfig: fix conflicting param indexs

This commit is contained in:
Iampete1 2023-06-22 23:35:42 +01:00 committed by Andrew Tridgell
parent b6b73d674f
commit 7e94eb39ff
1 changed files with 7 additions and 3 deletions

View File

@ -138,7 +138,7 @@ const AP_Param::GroupInfo AP_BoardConfig::var_info[] = {
// @Values: 0:Disabled,1:Enabled,2:Auto // @Values: 0:Disabled,1:Enabled,2:Auto
// @RebootRequired: True // @RebootRequired: True
// @User: Advanced // @User: Advanced
AP_GROUPINFO("SER3_RTSCTS", 23, AP_BoardConfig, state.ser_rtscts[3], 2), AP_GROUPINFO("SER3_RTSCTS", 26, AP_BoardConfig, state.ser_rtscts[3], 2),
#endif #endif
#ifdef HAL_HAVE_RTSCTS_SERIAL4 #ifdef HAL_HAVE_RTSCTS_SERIAL4
@ -148,7 +148,7 @@ const AP_Param::GroupInfo AP_BoardConfig::var_info[] = {
// @Values: 0:Disabled,1:Enabled,2:Auto // @Values: 0:Disabled,1:Enabled,2:Auto
// @RebootRequired: True // @RebootRequired: True
// @User: Advanced // @User: Advanced
AP_GROUPINFO("SER4_RTSCTS", 24, AP_BoardConfig, state.ser_rtscts[4], 2), AP_GROUPINFO("SER4_RTSCTS", 27, AP_BoardConfig, state.ser_rtscts[4], 2),
#endif #endif
#ifdef HAL_HAVE_RTSCTS_SERIAL5 #ifdef HAL_HAVE_RTSCTS_SERIAL5
@ -353,7 +353,11 @@ const AP_Param::GroupInfo AP_BoardConfig::var_info[] = {
// @User: Advanced // @User: Advanced
AP_GROUPINFO("SD_MISSION", 24, AP_BoardConfig, sdcard_storage.mission_kb, 0), AP_GROUPINFO("SD_MISSION", 24, AP_BoardConfig, sdcard_storage.mission_kb, 0),
#endif #endif
// index 25 used by SER5_RTSCTS
// index 26 used by SER3_RTSCTS
// index 27 used by SER4_RTSCTS
AP_GROUPEND AP_GROUPEND
}; };