1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-20 14:55:09 +03:00

More unneeded definitions removed

This commit is contained in:
Bertrand Songis 2019-08-20 18:04:19 +02:00
parent 487a76e8ba
commit 2ce17f3b68
No known key found for this signature in database
GPG key ID: F189F79290FEC50F
45 changed files with 37 additions and 197 deletions

View file

@ -233,12 +233,10 @@ bool isSourceAvailableInCustomSwitches(int source)
{
bool result = isSourceAvailable(source);
#if defined(TELEMETRY_FRSKY)
if (result && source >= MIXSRC_FIRST_TELEM && source <= MIXSRC_LAST_TELEM) {
div_t qr = div(source - MIXSRC_FIRST_TELEM, 3);
result = isTelemetryFieldComparisonAvailable(qr.quot);
}
#endif
return result;
}