From 00cdbe343896eb683c633e035b737cf60f806608 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Mon, 7 Apr 2014 22:44:14 +0100 Subject: [PATCH] Fixing typo in telemetry port configuration logic. --- src/telemetry_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/telemetry_common.c b/src/telemetry_common.c index 1153290dd..c93643d6a 100644 --- a/src/telemetry_common.c +++ b/src/telemetry_common.c @@ -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; }