Tools: fix AP_Periph param docs generator

This commit is contained in:
Tom Pittenger 2023-11-28 14:33:36 -08:00 committed by Peter Barker
parent 11a5b78a0c
commit 2650137e8c

View File

@ -109,11 +109,12 @@ def lua_applets():
libraries = [] libraries = []
# AP_Vehicle also has parameters rooted at "", but isn't referenced if args.vehicle != "AP_Periph":
# from the vehicle in any way: # AP_Vehicle also has parameters rooted at "", but isn't referenced
ap_vehicle_lib = Library("", reference="VEHICLE") # the "" is tacked onto the front of param name # from the vehicle in any way:
setattr(ap_vehicle_lib, "Path", os.path.join('..', 'libraries', 'AP_Vehicle', 'AP_Vehicle.cpp')) ap_vehicle_lib = Library("", reference="VEHICLE") # the "" is tacked onto the front of param name
libraries.append(ap_vehicle_lib) setattr(ap_vehicle_lib, "Path", os.path.join('..', 'libraries', 'AP_Vehicle', 'AP_Vehicle.cpp'))
libraries.append(ap_vehicle_lib)
libraries.append(lua_applets()) libraries.append(lua_applets())