Skip to content

Commit c070e6f

Browse files
committed
Tools: add and use AP_RC_TRANSMITTER_TUNING_ENABLED
1 parent 9d1dd4b commit c070e6f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Tools/autotest/test_build_options.py

+1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ def define_is_whitelisted_for_feature_in_code(self, target, define):
238238
# or all vehicles:
239239
feature_define_whitelist = set([
240240
'AP_RANGEFINDER_ENABLED', # only at vehicle level ATM
241+
'AP_RC_TRANSMITTER_TUNING_ENABLED', # no symbol
241242
'HAL_PERIPH_SUPPORT_LONG_CAN_PRINTF', # no symbol
242243
'AP_DRONECAN_VOLZ_FEEDBACK_ENABLED', # broken, no subscriber
243244
# Baro drivers either come in because you have

Tools/scripts/build_options.py

+2
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ def config_option(self):
249249
Feature('RC', 'RC_MAVLINK_RADIO', 'AP_RCPROTOCOL_MAVLINK_RADIO_ENABLED', "Enable MAVLink", 0, "RC_Protocol"), # NOQA: E501
250250
Feature('RC', 'RSSI', 'AP_RSSI_ENABLED', 'RSSI', 0, None),
251251

252+
Feature('RC', 'RC_TRANSMITTER_TUNING', 'AP_RC_TRANSMITTER_TUNING_ENABLED', "Enable knob-based transmitter tuning", 0, None), # NOQA:E501
253+
252254
Feature('Rangefinder', 'RANGEFINDER', 'AP_RANGEFINDER_ENABLED', "Enable Rangefinders", 0, None), # NOQA: E501
253255
Feature('Rangefinder', 'RANGEFINDER_ANALOG', 'AP_RANGEFINDER_ANALOG_ENABLED', "Enable Rangefinder - Analog", 0, "RANGEFINDER"), # NOQA: E501
254256
# Feature('Rangefinder', 'RANGEFINDER_BBB_PRU', 'AP_RANGEFINDER_BBB_PRU_ENABLED', "Enable Rangefinder - BBB PRU", 0, "RANGEFINDER"), # NOQA: E501

0 commit comments

Comments
 (0)