Skip to content

Commit

Permalink
AP_RPM: Allow more instances
Browse files Browse the repository at this point in the history
  • Loading branch information
magicrub committed Aug 15, 2023
1 parent 0d87479 commit 782aac0
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions libraries/AP_RPM/AP_RPM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,48 @@ const AP_Param::GroupInfo AP_RPM::var_info[] = {
AP_SUBGROUPINFO(_params[1], "2_", 15, AP_RPM, AP_RPM_Params),
#endif

#if RPM_MAX_INSTANCES > 2
// @Group: 3_
// @Path: AP_RPM_Params.cpp
AP_SUBGROUPINFO(_params[2], "3_", 16, AP_RPM, AP_RPM_Params),
#endif

#if RPM_MAX_INSTANCES > 3
// @Group: 4_
// @Path: AP_RPM_Params.cpp
AP_SUBGROUPINFO(_params[3], "4_", 17, AP_RPM, AP_RPM_Params),
#endif

#if RPM_MAX_INSTANCES > 4
// @Group: 5_
// @Path: AP_RPM_Params.cpp
AP_SUBGROUPINFO(_params[4], "5_", 18, AP_RPM, AP_RPM_Params),
#endif

#if RPM_MAX_INSTANCES > 5
// @Group: 6_
// @Path: AP_RPM_Params.cpp
AP_SUBGROUPINFO(_params[5], "6_", 19, AP_RPM, AP_RPM_Params),
#endif

#if RPM_MAX_INSTANCES > 6
// @Group: 7_
// @Path: AP_RPM_Params.cpp
AP_SUBGROUPINFO(_params[6], "7_", 20, AP_RPM, AP_RPM_Params),
#endif

#if RPM_MAX_INSTANCES > 7
// @Group: 8_
// @Path: AP_RPM_Params.cpp
AP_SUBGROUPINFO(_params[7], "8_", 21, AP_RPM, AP_RPM_Params),
#endif

#if RPM_MAX_INSTANCES > 8
// @Group: 9_
// @Path: AP_RPM_Params.cpp
AP_SUBGROUPINFO(_params[8], "9_", 22, AP_RPM, AP_RPM_Params),
#endif

AP_GROUPEND
};

Expand Down

0 comments on commit 782aac0

Please sign in to comment.