mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Tools: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
This commit is contained in:
parent
bff8688ac9
commit
40a0e06db3
@ -315,6 +315,7 @@ BUILD_OPTIONS = [
|
||||
Feature('Other', 'DRONECAN_SERIAL', 'AP_DRONECAN_SERIAL_ENABLED', 'Enable DroneCAN virtual serial ports', 0, None),
|
||||
Feature('Other', 'Buttons', 'HAL_BUTTON_ENABLED', 'Enable Buttons', 0, None),
|
||||
Feature('Other', 'Logging', 'HAL_LOGGING_ENABLED', 'Enable Logging', 0, None),
|
||||
Feature('Other', 'CUSTOM_ROTATIONS', 'AP_CUSTOMROTATIONS_ENABLED', 'Enable Custom Rotations', 0, None),
|
||||
|
||||
# MAVLink section for mavlink features and/or message handling,
|
||||
# rather than for e.g. mavlink-based sensor drivers
|
||||
|
@ -244,6 +244,7 @@ class ExtractFeatures(object):
|
||||
('HAL_LOGGING_ENABLED', 'AP_Logger::Init'),
|
||||
('AP_COMPASS_CALIBRATION_FIXED_YAW_ENABLED', 'AP_Compass::mag_cal_fixed_yaw'),
|
||||
('COMPASS_LEARN_ENABLED', 'CompassLearn::update'),
|
||||
('AP_CUSTOMROTATIONS_ENABLED', 'AP_CustomRotation::init'),
|
||||
]
|
||||
|
||||
def progress(self, msg):
|
||||
|
Loading…
Reference in New Issue
Block a user