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

Fixed build if none of USE_DSHOT, USE_LED_STRIP, USE_TRANSPONDE… (#8506)

Fixed build if none of USE_DSHOT, USE_LED_STRIP, USE_TRANSPONDER are defined.
This commit is contained in:
Michael Keller 2019-07-01 01:46:31 +12:00 committed by mikeller
parent 1cdb21c8f3
commit f3a95efa38
3 changed files with 8 additions and 2 deletions

View file

@ -24,7 +24,7 @@
#include "common/utils.h"
// allow conditional definition of DMA related members
#if defined(USE_DSHOT) || defined(USE_LED_STRIP) || defined(USE_TRANSPONDER)
#if defined(USE_TIMER_DMA)
# define DEF_TIM_DMA_COND(...) __VA_ARGS__
#else
# define DEF_TIM_DMA_COND(...)