mirror of https://github.com/ArduPilot/ardupilot
Tools: fix AP_Periph param docs generator
This commit is contained in:
parent
11a5b78a0c
commit
2650137e8c
|
@ -109,11 +109,12 @@ def lua_applets():
|
|||
|
||||
libraries = []
|
||||
|
||||
# AP_Vehicle also has parameters rooted at "", but isn't referenced
|
||||
# from the vehicle in any way:
|
||||
ap_vehicle_lib = Library("", reference="VEHICLE") # the "" is tacked onto the front of param name
|
||||
setattr(ap_vehicle_lib, "Path", os.path.join('..', 'libraries', 'AP_Vehicle', 'AP_Vehicle.cpp'))
|
||||
libraries.append(ap_vehicle_lib)
|
||||
if args.vehicle != "AP_Periph":
|
||||
# AP_Vehicle also has parameters rooted at "", but isn't referenced
|
||||
# from the vehicle in any way:
|
||||
ap_vehicle_lib = Library("", reference="VEHICLE") # the "" is tacked onto the front of param name
|
||||
setattr(ap_vehicle_lib, "Path", os.path.join('..', 'libraries', 'AP_Vehicle', 'AP_Vehicle.cpp'))
|
||||
libraries.append(ap_vehicle_lib)
|
||||
|
||||
libraries.append(lua_applets())
|
||||
|
||||
|
|
Loading…
Reference in New Issue