From f4320c935cf698bf8a467ff590e7facc43c86169 Mon Sep 17 00:00:00 2001 From: chobits Date: Mon, 7 Sep 2020 09:20:35 +0800 Subject: [PATCH] AP_HAL_ChibiOS: fix kakutef7/mini motor glitch when using dshot --- libraries/AP_HAL_ChibiOS/hwdef/KakuteF7/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7/hwdef.dat index fa5616d79fa8f..1431d0326e04a 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7/hwdef.dat @@ -112,7 +112,7 @@ PA3 TIM5_CH4 TIM5 PWM(6) GPIO(55) #PD12 TIM4_CH1 TIM4 PWM(7) GPIO(56) # led pin #PD15 TIM4_CH4 TIM4 PWM(8) GPIO(57) # buzzer pin (need to comment out buzzer) -DMA_PRIORITY S* +DMA_PRIORITY TIM1* TIM3* SPI4* SPI1* define HAL_STORAGE_SIZE 16384 define STORAGE_FLASH_PAGE 1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat index e3d1e23ad6c0b..94f0e3c0bd1cf 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/KakuteF7Mini/hwdef.dat @@ -112,7 +112,7 @@ PA3 TIM5_CH4 TIM5 PWM(6) GPIO(55) #PD12 TIM4_CH1 TIM4 PWM(7) GPIO(56) # led pin #PD15 TIM4_CH4 TIM4 PWM(8) GPIO(57) # buzzer pin (need to comment out buzzer) -DMA_PRIORITY S* +DMA_PRIORITY TIM1* TIM3* SPI4* SPI1* define HAL_STORAGE_SIZE 16384 define STORAGE_FLASH_PAGE 1