mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +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)
|
||||
{
|
||||
#ifdef USE_RX_SX1280
|
||||
const elrsFreqDomain_e domain = rxExpressLrsSpiConfig()->domain;
|
||||
return (domain == ISM2400) || (domain == CE2400);
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void setRfLinkRate(const uint8_t index)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue