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

Use USE_DMA_SPEC without preconditions (#12050)

This commit is contained in:
haslinghuis 2022-12-15 15:48:21 +01:00 committed by GitHub
parent bcfe335bd7
commit d58ff36712
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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