mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
FIX: when USE_RX_SX1280 not in use, yet EXPRESSLRS is. (#12023)
This commit is contained in:
parent
6f1cac69ea
commit
71b64794ea
1 changed files with 6 additions and 2 deletions
|
@ -309,8 +309,12 @@ static uint8_t minLqForChaos(void)
|
||||||
|
|
||||||
static bool domainIsTeam24(void)
|
static bool domainIsTeam24(void)
|
||||||
{
|
{
|
||||||
const elrsFreqDomain_e domain = rxExpressLrsSpiConfig()->domain;
|
#ifdef USE_RX_SX1280
|
||||||
return (domain == ISM2400) || (domain == CE2400);
|
const elrsFreqDomain_e domain = rxExpressLrsSpiConfig()->domain;
|
||||||
|
return (domain == ISM2400) || (domain == CE2400);
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setRfLinkRate(const uint8_t index)
|
static void setRfLinkRate(const uint8_t index)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue