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:
parent
1cdb21c8f3
commit
f3a95efa38
3 changed files with 8 additions and 2 deletions
|
@ -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(...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue