mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
Tools: fix AP_Periph param docs generator
This commit is contained in:
parent
11a5b78a0c
commit
2650137e8c
@ -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())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user