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 authored and peterbarker committed Aug 10, 2024
1 parent 1e4caae commit f513611
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions libraries/AP_RPM/AP_RPM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ 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

AP_GROUPEND
};

Expand Down

0 comments on commit f513611

Please sign in to comment.