Skip to content

Commit

Permalink
AP_OSD: Fix Radar panel numbering conflict
Browse files Browse the repository at this point in the history
Increment AP_RADAR OSD panel item group IDx to fix conflict with prior parameter which caused FC lockup on boot.
  • Loading branch information
rmaia3d committed Jan 22, 2024
1 parent 6ae4083 commit c03c2f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/AP_OSD/AP_OSD_Screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,7 @@ const AP_Param::GroupInfo AP_OSD_Screen::var_info[] = {
// @Range: 0 15
AP_SUBGROUPINFO(rrpm, "RPM", 62, AP_OSD_Screen, AP_OSD_Setting),
#endif

// @Param: RADAR_EN
// @DisplayName: RADAR_EN
// @Description: Displays iNav Radar info for peer aircraft
Expand All @@ -1053,7 +1054,7 @@ const AP_Param::GroupInfo AP_OSD_Screen::var_info[] = {
// @DisplayName: RADAR_Y
// @Description: Vertical position on screen
// @Range: 0 15
AP_SUBGROUPINFO(radar, "RADAR", 62, AP_OSD_Screen, AP_OSD_Setting),
AP_SUBGROUPINFO(radar, "RADAR", 63, AP_OSD_Screen, AP_OSD_Setting),

AP_GROUPEND
};
Expand Down

0 comments on commit c03c2f0

Please sign in to comment.