mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Merge pull request #6997 from mikeller/fix_fport_conditionals
Fixed build errors when building with USE_SERIALRX_FPORT but without USE_SERIALRX_SBUS or USE_TELEMETRY_SMARTPORT.
This commit is contained in:
commit
b0705caf6a
3 changed files with 9 additions and 4 deletions
|
@ -116,6 +116,10 @@
|
|||
#undef USE_TELEMETRY_SRXL
|
||||
#endif
|
||||
|
||||
#if defined(USE_SERIALRX_SBUS) || defined(USE_SERIALRX_FPORT)
|
||||
#define USE_SBUS_CHANNELS
|
||||
#endif
|
||||
|
||||
#if !defined(USE_TELEMETRY_SMARTPORT) && !defined(USE_TELEMETRY_CRSF)
|
||||
#undef USE_MSP_OVER_TELEMETRY
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue