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 d01946d commit 3eec398
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tools/autotest/test_build_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,10 @@ def define_is_whitelisted_for_feature_in_code(self, target, define):
# RSSI is not initialised - probably should be for some
feature_define_whitelist.add(r'AP_RSSI_ENABLED')

if target.lower() in ["antennatracker"]:
if target.lower() in ["antennatracker", "sub"]:
# missing the init call to the relay library:
feature_define_whitelist.add(r'AP_RELAY_ENABLED')
feature_define_whitelist.add(r'AP_RC_CHANNEL_AUX_FUNCTION_STRINGS_ENABLED')

for some_re in feature_define_whitelist:
if re.match(some_re, define):
Expand Down

0 comments on commit 3eec398

Please sign in to comment.