Fixing typo in telemetry port configuration logic.

This commit is contained in:
Dominic Clifton 2014-04-07 22:44:14 +01:00
parent c26d6362b1
commit 00cdbe3438
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}