From 38fe23f3e14668923e21c5700897bc2a7eefde1e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 4 Jan 2025 18:35:04 +1100 Subject: [PATCH] autotest: test_build_options.py: exempt AP_INERTIALSENSOR_FAST_SAMPLE_WINDOW_ENABLED from sanity check the symbol supplied will only ever exist on Copter as it is nthe only thing that supports the window --- Tools/autotest/test_build_options.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/autotest/test_build_options.py b/Tools/autotest/test_build_options.py index 4f09b396022f42..81e343f6e6f6a0 100755 --- a/Tools/autotest/test_build_options.py +++ b/Tools/autotest/test_build_options.py @@ -289,6 +289,7 @@ def define_is_whitelisted_for_feature_in_code(self, target, define): feature_define_whitelist.add('AP_WINCH_PWM_ENABLED') feature_define_whitelist.add(r'AP_MOTORS_FRAME_.*_ENABLED') feature_define_whitelist.add('AP_COPTER_ADVANCED_FAILSAFE_ENABLED') + feature_define_whitelist.add('AP_INERTIALSENSOR_FAST_SAMPLE_WINDOW_ENABLED') if target.lower() != "plane": # only on Plane: