Skip to content

Commit

Permalink
Change CRSF panels parameter ids to sequential ordering inside group …
Browse files Browse the repository at this point in the history
…info
  • Loading branch information
rmaia3d committed Jan 22, 2024
1 parent d21e98e commit e7929d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libraries/AP_OSD/AP_OSD_Screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ const AP_Param::GroupInfo AP_OSD_Screen::var_info2[] = {
// @DisplayName: XF_PWR_Y
// @Description: Vertical position on screen
// @Range: 0 21
AP_SUBGROUPINFO(crsf_tx_power, "XF_PWR", 55, AP_OSD_Screen, AP_OSD_Setting),
AP_SUBGROUPINFO(crsf_tx_power, "XF_PWR", 5, AP_OSD_Screen, AP_OSD_Setting),

// @Param: XF_RSSI_EN
// @DisplayName: XF_RSSI_EN
Expand All @@ -1114,7 +1114,7 @@ const AP_Param::GroupInfo AP_OSD_Screen::var_info2[] = {
// @DisplayName: XF_RSSI_Y
// @Description: Vertical position on screen
// @Range: 0 21
AP_SUBGROUPINFO(crsf_rssi_dbm, "XF_RSSI", 54, AP_OSD_Screen, AP_OSD_Setting),
AP_SUBGROUPINFO(crsf_rssi_dbm, "XF_RSSI", 6, AP_OSD_Screen, AP_OSD_Setting),

// @Param: XF_SNR_EN
// @DisplayName: XF_SNR_EN
Expand All @@ -1130,7 +1130,7 @@ const AP_Param::GroupInfo AP_OSD_Screen::var_info2[] = {
// @DisplayName: XF_SNR_Y
// @Description: Vertical position on screen
// @Range: 0 21
AP_SUBGROUPINFO(crsf_snr, "XF_SNR", 53, AP_OSD_Screen, AP_OSD_Setting),
AP_SUBGROUPINFO(crsf_snr, "XF_SNR", 7, AP_OSD_Screen, AP_OSD_Setting),

// @Param: XF_ANT_EN
// @DisplayName: XF_ANT_EN
Expand All @@ -1146,7 +1146,7 @@ const AP_Param::GroupInfo AP_OSD_Screen::var_info2[] = {
// @DisplayName: XF_ANT_Y
// @Description: Vertical position on screen
// @Range: 0 21
AP_SUBGROUPINFO(crsf_active_antenna, "XF_ANT", 52, AP_OSD_Screen, AP_OSD_Setting),
AP_SUBGROUPINFO(crsf_active_antenna, "XF_ANT", 8, AP_OSD_Screen, AP_OSD_Setting),

// @Param: XF_LQ_EN
// @DisplayName: XF_LQ_EN
Expand All @@ -1162,7 +1162,7 @@ const AP_Param::GroupInfo AP_OSD_Screen::var_info2[] = {
// @DisplayName: XF_LQ_Y
// @Description: Vertical position on screen
// @Range: 0 21
AP_SUBGROUPINFO(crsf_lq, "XF_LQ", 56, AP_OSD_Screen, AP_OSD_Setting),
AP_SUBGROUPINFO(crsf_lq, "XF_LQ", 9, AP_OSD_Screen, AP_OSD_Setting),
#endif

AP_GROUPEND
Expand Down

0 comments on commit e7929d3

Please sign in to comment.