From 5e37165645eab5a0df6493f907f12f6d78b7a91e Mon Sep 17 00:00:00 2001 From: Thorsten Laux Date: Tue, 8 Jan 2019 21:27:00 +0100 Subject: [PATCH] fix Burst Dshot not working on F3 #7347 --- src/main/drivers/pwm_output_dshot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/drivers/pwm_output_dshot.c b/src/main/drivers/pwm_output_dshot.c index bba1ff6b0a..700932f56f 100644 --- a/src/main/drivers/pwm_output_dshot.c +++ b/src/main/drivers/pwm_output_dshot.c @@ -506,7 +506,7 @@ void pwmDshotMotorHardwareConfig(const timerHardware_t *timerHardware, uint8_t m DMAINIT.DMA_PeripheralInc = DMA_PeripheralInc_Disable; DMAINIT.DMA_MemoryInc = DMA_MemoryInc_Enable; DMAINIT.DMA_PeripheralDataSize = DMA_PeripheralDataSize_Word; - DMAINIT.DMA_MemoryDataSize = DMA_MemoryDataSize_Byte; + DMAINIT.DMA_MemoryDataSize = DMA_MemoryDataSize_Word; DMAINIT.DMA_Mode = DMA_Mode_Normal; DMAINIT.DMA_Priority = DMA_Priority_High; } else