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

CF/BF - Fix compilation of transponder when not using DHSOT or LED_STRIP

This commit is contained in:
Hydra 2017-04-09 15:12:02 +01:00 committed by Dominic Clifton
parent 6f5727719f
commit 2ec39de031
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ typedef struct timerHardware_s {
#if defined(STM32F3) || defined(STM32F4) || defined(STM32F7)
uint8_t alternateFunction;
#endif
#if defined(USE_DSHOT) || defined(LED_STRIP)
#if defined(USE_DSHOT) || defined(LED_STRIP) || defined(TRANSPONDER)
#if defined(STM32F4) || defined(STM32F7)
DMA_Stream_TypeDef *dmaRef;
uint32_t dmaChannel;