Skip to content

Commit

Permalink
autotest: exempt MODE_AUTOLAND_ENABLED from sanity checks except on P…
Browse files Browse the repository at this point in the history
…lane

... only ever compiled in on Plane
  • Loading branch information
peterbarker committed Jan 4, 2025
1 parent e1366c1 commit c3280a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tools/autotest/test_build_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ def define_is_whitelisted_for_feature_in_code(self, target, define):
feature_define_whitelist.add('AP_PLANE_OFFBOARD_GUIDED_SLEW_ENABLED')
feature_define_whitelist.add('HAL_QUADPLANE_ENABLED')
feature_define_whitelist.add('AP_BATTERY_WATT_MAX_ENABLED')
feature_define_whitelist.add('MODE_AUTOLAND_ENABLED')

if target.lower() not in ["plane", "copter"]:
feature_define_whitelist.add('HAL_ADSB_ENABLED')
Expand Down

0 comments on commit c3280a3

Please sign in to comment.