From 7e94eb39ff9c97c2aae22facecdff6b630e3d69c Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Thu, 22 Jun 2023 23:35:42 +0100 Subject: [PATCH] AP_BoardConfig: fix conflicting param indexs --- libraries/AP_BoardConfig/AP_BoardConfig.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libraries/AP_BoardConfig/AP_BoardConfig.cpp b/libraries/AP_BoardConfig/AP_BoardConfig.cpp index 0bcfcd106c..4d3b377e2a 100644 --- a/libraries/AP_BoardConfig/AP_BoardConfig.cpp +++ b/libraries/AP_BoardConfig/AP_BoardConfig.cpp @@ -138,7 +138,7 @@ const AP_Param::GroupInfo AP_BoardConfig::var_info[] = { // @Values: 0:Disabled,1:Enabled,2:Auto // @RebootRequired: True // @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 #ifdef HAL_HAVE_RTSCTS_SERIAL4 @@ -148,7 +148,7 @@ const AP_Param::GroupInfo AP_BoardConfig::var_info[] = { // @Values: 0:Disabled,1:Enabled,2:Auto // @RebootRequired: True // @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 #ifdef HAL_HAVE_RTSCTS_SERIAL5 @@ -353,7 +353,11 @@ const AP_Param::GroupInfo AP_BoardConfig::var_info[] = { // @User: Advanced AP_GROUPINFO("SD_MISSION", 24, AP_BoardConfig, sdcard_storage.mission_kb, 0), #endif - + + // index 25 used by SER5_RTSCTS + // index 26 used by SER3_RTSCTS + // index 27 used by SER4_RTSCTS + AP_GROUPEND };