From ae2d4e6edc0daae55756d6ca09f1715681f9b3bb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 5 Mar 2019 20:58:48 +1100 Subject: [PATCH] HAL_ChibiOS: change CUAVv5Nano default PWM count to 11 --- libraries/AP_HAL_ChibiOS/hwdef/CUAVv5Nano/hwdef.dat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CUAVv5Nano/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CUAVv5Nano/hwdef.dat index 9416736b58..ea3d160f3b 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CUAVv5Nano/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CUAVv5Nano/hwdef.dat @@ -36,6 +36,9 @@ PA5 TIM2_CH1 TIM2 PWM(9) GPIO(58) PB3 TIM2_CH2 TIM2 PWM(10) GPIO(59) PB11 TIM2_CH4 TIM2 PWM(11) GPIO(60) +undef BOARD_PWM_COUNT_DEFAULT +define BOARD_PWM_COUNT_DEFAULT 11 + # RCInput on the PPM pin, for all protocols undef PG9 undef USART6_RX