Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Aug 16, 2024
1 parent 24ed066 commit cf70ace
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tools/autotest/test_build_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ def define_is_whitelisted_for_feature_in_code(self, target, define):
feature_define_whitelist.add('AP_WINCH_ENABLED')
feature_define_whitelist.add('AP_WINCH_DAIWA_ENABLED')
feature_define_whitelist.add('AP_WINCH_PWM_ENABLED')
feature_define_whitelist.add(r'AP_MOTORS_FRAME_.*_ENABLED')

if target.lower() != "plane":
# only on Plane:
feature_define_whitelist.add('AP_ICENGINE_ENABLED')
Expand All @@ -306,7 +308,7 @@ def define_is_whitelisted_for_feature_in_code(self, target, define):
feature_define_whitelist.add('AP_LANDINGGEAR_ENABLED')
# only Plane and Copter instantiate Parachute
feature_define_whitelist.add('HAL_PARACHUTE_ENABLED')
feature_define_whitelist.add('AP_MOTORS_FRAME_.*ENABLED')
# only Plane and Copter have AP_Motors:

if target.lower() not in ["rover", "copter"]:
# only Plane and Copter instantiate Beacon
Expand Down

0 comments on commit cf70ace

Please sign in to comment.