Fixing typo in telemetry port configuration logic.
This commit is contained in:
parent
c26d6362b1
commit
00cdbe3438
|
@ -23,7 +23,7 @@ bool canUseTelemetryWithCurrentConfiguration(void) {
|
|||
}
|
||||
|
||||
if (!feature(FEATURE_SOFTSERIAL)) {
|
||||
if (mcfg.telemetry_port == TELEMETRY_PORT_SOFTSERIAL_1 || mcfg.telemetry_port == TELEMETRY_PORT_SOFTSERIAL_1) {
|
||||
if (mcfg.telemetry_port == TELEMETRY_PORT_SOFTSERIAL_1 || mcfg.telemetry_port == TELEMETRY_PORT_SOFTSERIAL_2) {
|
||||
// softserial feature must be enabled to use telemetry on softserial ports
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue