mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 09:16:07 +03:00
Fixed warnings.
This commit is contained in:
parent
074427f08d
commit
93d2566287
2 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue