Browse Source

HAL_ChibiOS: automatically set AP_FEATURE_SBUS_OUT

master
Andrew Tridgell 5 years ago committed by Randy Mackay
parent
commit
fa69ac6458
  1. 2
      libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py

2
libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py

@ -963,6 +963,8 @@ def write_UART_config(f): @@ -963,6 +963,8 @@ def write_UART_config(f):
)
uart_list.append(config['IOMCU_UART'][0])
f.write('#define HAL_HAVE_SERVO_VOLTAGE 1\n') # make the assumption that IO gurantees servo monitoring
# all IOMCU capable boards have SBUS out
f.write('#define AP_FEATURE_SBUS_OUT 1\n')
else:
f.write('#define HAL_WITH_IO_MCU 0\n')
f.write('\n')

Loading…
Cancel
Save