From be8d4e6c9d346aea0d2e10bdfaf79cff2f431e5b Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Sat, 10 Nov 2018 14:42:01 -0700 Subject: [PATCH] AP_HAL_ChibiOS: Assume that IOMCU implies servo voltage monitoring --- libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py index 3c800fa879..b6d1ca7a43 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py @@ -773,6 +773,7 @@ def write_UART_config(f): '#define HAL_UART_IO_DRIVER ChibiOS::UARTDriver uart_io(HAL_UART_IOMCU_IDX)\n' ) uart_list.append(config['IOMCU_UART'][0]) + f.write('#define HAL_HAVE_SERVO_VOLTAGE 1\n') # make the assumption that IO gurantees servo monitoring else: f.write('#define HAL_WITH_IO_MCU 0\n') f.write('\n')