AP_Rangefinder: Fix bad subgroup pointer for drivers

This commit is contained in:
Michael du Breuil 2020-01-14 16:50:09 -07:00 committed by Andrew Tridgell
parent 4a688e59b2
commit d92c4dc892
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ const AP_Param::GroupInfo RangeFinder::var_info[] = {
// @Group: 4_
// @Path: AP_RangeFinder_Wasp.cpp
AP_SUBGROUPVARPTR(drivers[0], "4_", 60, RangeFinder, backend_var_info[3]),
AP_SUBGROUPVARPTR(drivers[3], "4_", 60, RangeFinder, backend_var_info[3]),
#endif
#if RANGEFINDER_MAX_INSTANCES > 4