1
0
Fork 0
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:
J Blackman 2022-11-28 17:25:13 +11:00 committed by GitHub
parent 6f1cac69ea
commit 71b64794ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)