1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 09:16:07 +03:00

Fixed warnings.

This commit is contained in:
Mikolaj Stawiski 2019-03-20 19:47:18 +11:00
parent 074427f08d
commit 93d2566287
2 changed files with 5 additions and 5 deletions

View file

@ -216,9 +216,9 @@ void pwmDshotMotorHardwareConfig(const timerHardware_t *timerHardware, uint8_t m
#define DMAINIT dmaInitStruct
#endif
dmaStream_t *dmaRef;
dmaStream_t *dmaRef = NULL;
#if defined(STM32F4)
uint32_t dmaChannel;
uint32_t dmaChannel = 0;
#endif
#if defined(USE_DMA_SPEC)
const dmaChannelSpec_t *dmaSpec = dmaGetChannelSpecByTimer(timerHardware);