From 0e18bd450d07e7bc3805b0907e15791207f5f5a7 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Sat, 5 Feb 2022 09:27:14 +0000 Subject: [PATCH] AP_HAL_ChibiOS: fix bi-directional dshot on omnibusf4pro --- libraries/AP_HAL_ChibiOS/hwdef/omnibusf4pro-bdshot/hwdef.dat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/omnibusf4pro-bdshot/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/omnibusf4pro-bdshot/hwdef.dat index d4b4d1a6d2..acaaf00f87 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/omnibusf4pro-bdshot/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/omnibusf4pro-bdshot/hwdef.dat @@ -3,8 +3,10 @@ include ../omnibusf4pro/hwdef.dat -undef PB0 PB1 PA3 PB4 +undef PB0 PB1 PA3 PB4 PA2 PA1 PB0 TIM3_CH3 TIM3 PWM(1) GPIO(50) PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51) BIDIR PA3 TIM2_CH4 TIM2 PWM(3) GPIO(52) BIDIR +PA2 TIM2_CH3 TIM2 PWM(4) GPIO(53) +# PWM 5 is disabled as it shares a timer with PWM 3&4