Merge pull request #6442 from sebsx/fix-mixed-up-spektrum-and-jeti-ifdefs

Fixed swapped ifdefs where disabling Jeti XBUS disables Spektrum SRXL telemetry and vice versa
This commit is contained in:
Michael Keller 2018-07-25 21:39:04 +12:00 committed by GitHub
commit 74d883bfa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -72,13 +72,10 @@
#undef USE_TELEMETRY_CRSF
#endif
#if !defined(USE_SERIALRX_SPEKTRUM)
#if !defined(USE_SERIALRX_JETIEXBUS)
#undef USE_TELEMETRY_JETIEXBUS
#endif
#if !defined(USE_SERIALRX_JETIEXBUS)
#undef USE_TELEMETRY_SRXL
#endif
#if !defined(USE_TELEMETRY)
#undef USE_CRSF_CMS_TELEMETRY
@ -111,6 +108,7 @@
#undef USE_SPEKTRUM_VTX_CONTROL
#undef USE_SPEKTRUM_VTX_TELEMETRY
#undef USE_SPEKTRUM_CMS_TELEMETRY
#undef USE_TELEMETRY_SRXL
#endif
/* If either VTX_CONTROL or VTX_COMMON is undefined then remove common code and device drivers */