mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Fixing typo in telemetry port configuration logic.
This commit is contained in:
parent
c26d6362b1
commit
00cdbe3438
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ bool canUseTelemetryWithCurrentConfiguration(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!feature(FEATURE_SOFTSERIAL)) {
|
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
|
// softserial feature must be enabled to use telemetry on softserial ports
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue