From d58ff36712a0eb6a81d42806b408378a61e6094c Mon Sep 17 00:00:00 2001 From: haslinghuis Date: Thu, 15 Dec 2022 15:48:21 +0100 Subject: [PATCH] Use USE_DMA_SPEC without preconditions (#12050) --- src/main/target/common_post.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/target/common_post.h b/src/main/target/common_post.h index 564c6dc300..bb718e6744 100644 --- a/src/main/target/common_post.h +++ b/src/main/target/common_post.h @@ -390,13 +390,9 @@ #undef BEEPER_PWM_HZ #endif -#if defined(USE_DSHOT) || defined(USE_LED_STRIP) || defined(USE_TRANSPONDER) +#if defined(USE_DMA_SPEC) #define USE_TIMER_DMA #else -#undef USE_DMA_SPEC -#endif - -#if !defined(USE_DMA_SPEC) #undef USE_TIMER_MGMT #endif