Crossfire compile fixes

This commit is contained in:
3djc
2018-02-28 19:36:23 +01:00
parent 9e0d29db1a
commit 09a391dbf4
3 changed files with 38 additions and 36 deletions
+2 -1
View File
@@ -47,6 +47,7 @@ bool isFaiForbidden(source_t idx)
}
break;
#if defined(CROSSFIRE)
case TELEM_PROTO_CROSSFIRE:
if (sensor->id == RX_RSSI1_INDEX) {
return false;
@@ -58,7 +59,7 @@ bool isFaiForbidden(source_t idx)
return false;
}
break;
#endif
}
return true;
}