Tools: build_options.py correct winch enablement

this was renamed throughout - except in here
This commit is contained in:
Peter Barker 2023-04-09 16:45:04 +10:00 committed by Peter Barker
parent d958ce384f
commit 9c32c96334
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,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', 'AP_LANDINGGEAR_ENABLED', 'Enable Landing Gear', 0, None),
Feature('Payload', 'WINCH', 'WINCH_ENABLED', 'Enable Winch', 0, None),
Feature('Payload', 'WINCH', 'AP_WINCH_ENABLED', 'Enable Winch', 0, None),
Feature('Plane', 'QUADPLANE', 'HAL_QUADPLANE_ENABLED', 'Enable QuadPlane support', 0, None),
Feature('Plane', 'SOARING', 'HAL_SOARING_ENABLED', 'Enable Soaring', 0, None),

View File

@ -146,7 +146,7 @@ class ExtractFeatures(object):
('AP_GRIPPER_ENABLED', r'AP_Gripper::init\b',),
('HAL_SPRAYER_ENABLED', 'AC_Sprayer::AC_Sprayer',),
('AP_LANDINGGEAR_ENABLED', r'AP_LandingGear::init\b',),
('WINCH_ENABLED', 'AP_Winch::AP_Winch',),
('AP_WINCH_ENABLED', 'AP_Winch::AP_Winch',),
('AP_RCPROTOCOL_{type}_ENABLED', r'AP_RCProtocol_(?P<type>.*)::_process_byte\b',),
('AP_RCPROTOCOL_{type}_ENABLED', r'AP_RCProtocol_(?P<type>.*)::_process_pulse\b',),