PXX2 always defined. PROTOCOL enums renamed. IRPROTOS removed

This commit is contained in:
Bertrand Songis
2018-11-28 18:02:14 +01:00
parent b30c9b63cd
commit b72ccb4836
34 changed files with 174 additions and 343 deletions
+3 -3
View File
@@ -33,7 +33,7 @@ bool isFaiForbidden(source_t idx)
switch (telemetryProtocol) {
case PROTOCOL_FRSKY_SPORT:
case PROTOCOL_TELEMETRY_FRSKY_SPORT:
if (sensor->id == RSSI_ID) {
return false;
}
@@ -42,7 +42,7 @@ bool isFaiForbidden(source_t idx)
}
break;
case PROTOCOL_FRSKY_D:
case PROTOCOL_TELEMETRY_FRSKY_D:
if (sensor->id == D_RSSI_ID) {
return false;
}
@@ -52,7 +52,7 @@ bool isFaiForbidden(source_t idx)
break;
#if defined(CROSSFIRE)
case PROTOCOL_PULSES_CROSSFIRE:
case PROTOCOL_TELEMETRY_CROSSFIRE:
if (sensor->id == RX_RSSI1_INDEX) {
return false;
}