1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

[4.5.2] FIX: telemetry for Spektrum/SRXL (#13814) (#13820)

Fix telemetry for Spektrum/SRXL (#13814)

* Fix telemetry for Spektrum/SRXL

* Update after ledvinap review

* Update comments
This commit is contained in:
Mark Haslinghuis 2024-08-15 23:13:40 +02:00 committed by GitHub
parent 77d01ba3b7
commit 63b0aa18d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -265,8 +265,8 @@
#undef USE_TELEMETRY_IBUS_EXTENDED
#endif
// If USE_SERIALRX_SPEKTRUM was dropped by a target, drop all related options
#ifndef USE_SERIALRX_SPEKTRUM
// If USE_SERIALRX_SPEKTRUM or SERIALRX_SRXL2 was dropped by a target, drop all related options
#if !defined(USE_SERIALRX_SPEKTRUM) && !defined(USE_SERIALRX_SRXL2)
#undef USE_SPEKTRUM_BIND
#undef USE_SPEKTRUM_BIND_PLUG
#undef USE_SPEKTRUM_REAL_RSSI
@ -275,7 +275,7 @@
#undef USE_SPEKTRUM_VTX_CONTROL
#undef USE_SPEKTRUM_VTX_TELEMETRY
#undef USE_TELEMETRY_SRXL
#endif
#endif // !defined(USE_SERIALRX_SPEKTRUM) && !defined(USE_SERIALRX_SRXL2)
#if !defined(USE_CMS) || !defined(USE_TELEMETRY_SRXL)
#undef USE_SPEKTRUM_CMS_TELEMETRY

View file

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