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 Randy Mackay
parent 2a1735192a
commit 2c0eee390d
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,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