Tools: make and use AP_LANDINGGEAR_ENABLED

This commit is contained in:
Peter Barker 2022-10-01 20:21:38 +10:00 committed by Andrew Tridgell
parent 0cf56ea320
commit 3c201ae741
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ BUILD_OPTIONS = [
Feature('Payload', 'GRIPPER', 'AP_GRIPPER_ENABLED', 'Enable Gripper', 0, None),
Feature('Payload', 'SPRAYER', 'HAL_SPRAYER_ENABLED', 'Enable Sprayer', 0, None),
Feature('Payload', 'LANDING_GEAR', 'LANDING_GEAR_ENABLED', 'Enable Landing Gear', 0, None),
Feature('Payload', 'LANDING_GEAR', 'AP_LANDINGGEAR_ENABLED', 'Enable Landing Gear', 0, None),
Feature('Payload', 'WINCH', 'WINCH_ENABLED', 'Enable Winch', 0, None),
Feature('Plane', 'QUADPLANE', 'HAL_QUADPLANE_ENABLED', 'Enable QuadPlane support', 0, None),

View File

@ -122,7 +122,7 @@ class ExtractFeatures(object):
('AP_GRIPPER_ENABLED', r'AP_Gripper::init\b',),
('HAL_SPRAYER_ENABLED', 'AC_Sprayer::AC_Sprayer',),
('LANDING_GEAR_ENABLED', r'AP_LandingGear::init\b',),
('AP_LANDINGGEAR_ENABLED', r'AP_LandingGear::init\b',),
('WINCH_ENABLED', 'AP_Winch::AP_Winch',),
('AP_VOLZ_ENABLED', r'AP_Volz_Protocol::init\b',),