mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tools: build_options.py: update feature define whitelist
two of these defines are no longer uses in the codebase, one can't be checked for because there's no symbol for it
This commit is contained in:
parent
18e1a1f630
commit
3079ddd1b2
@ -201,8 +201,7 @@ class TestBuildOptions(object):
|
||||
# or all vehicles:
|
||||
feature_define_whitelist = set([
|
||||
'AP_RANGEFINDER_ENABLED', # only at vehicle level ATM
|
||||
'BEACON_ENABLED', # Rover doesn't obey this (should also be AP_BEACON_ENABLED)
|
||||
'WINCH_ENABLED', # Copter doesn't use this; should use AP_WINCH_ENABLED
|
||||
'HAL_PERIPH_SUPPORT_LONG_CAN_PRINTF', # no symbol
|
||||
])
|
||||
if define in compiled_in_feature_defines:
|
||||
error = f"feature gated by {define} still compiled into ({target}); extract_features.py bug?"
|
||||
|
Loading…
Reference in New Issue
Block a user