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

[4.5.2] Fix build when using SRXL telemetry (#13947) (#13950)

This commit is contained in:
Mark Haslinghuis 2024-10-03 22:31:14 +02:00 committed by GitHub
parent 3860b2062d
commit dd3ca8336d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -327,7 +327,7 @@
#define USE_THRUST_LINEARIZATION
#define USE_TPA_MODE
#if defined(USE_SERIALRX_SPEKTRUM) || defined(USE_SERIALRX_SRXL2)
#ifdef USE_SERIALRX_SPEKTRUM
#define USE_SPEKTRUM_BIND
#define USE_SPEKTRUM_BIND_PLUG
#define USE_SPEKTRUM_REAL_RSSI
@ -336,7 +336,16 @@
#define USE_SPEKTRUM_VTX_CONTROL
#define USE_SPEKTRUM_VTX_TELEMETRY
#define USE_SPEKTRUM_CMS_TELEMETRY
#endif // defined(USE_SERIALRX_SPEKTRUM) || defined USE_SERIALRX_SRXL2
#endif // USE_SERIALRX_SPEKTRUM
#ifdef USE_TELEMETRY_SRXL
#ifndef USE_SERIALRX_SPEKTRUM
#define USE_SERIALRX_SPEKTRUM
#define USE_SPEKTRUM_VTX_CONTROL
#define USE_SPEKTRUM_VTX_TELEMETRY
#define USE_SPEKTRUM_CMS_TELEMETRY
#endif // USE_SERIALRX_SPEKTRUM
#endif // USE_TELEMETRY_SRXL
#define USE_BOARD_INFO
#define USE_RTC_TIME