diff --git a/src/main/drivers/pwm_output.h b/src/main/drivers/pwm_output.h index 3e4dd3e03..f60af1b64 100644 --- a/src/main/drivers/pwm_output.h +++ b/src/main/drivers/pwm_output.h @@ -114,10 +114,10 @@ typedef struct { DMA_Channel_TypeDef *dmaBurstRef; #else DMA_Stream_TypeDef *dmaBurstRef; +#endif uint16_t dmaBurstLength; -#endif -#endif uint32_t dmaBurstBuffer[DSHOT_DMA_BUFFER_SIZE * 4]; +#endif uint16_t timerDmaSources; } motorDmaTimer_t;