mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Merge pull request #33 from KipK/Telemetry_switch
Telemetry switch: fix stupid mistake
This commit is contained in:
commit
c19f6d1355
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ static uint8_t cycleNum = 0;
|
|||
|
||||
void sendTelemetry(void)
|
||||
{
|
||||
if (mcfg.telemetry_softserial == TELEMETRY_UART && !f.ARMED && !rcOptions[BOXTELEMETRY])
|
||||
if (mcfg.telemetry_softserial == TELEMETRY_UART && (!f.ARMED || !rcOptions[BOXTELEMETRY]))
|
||||
return;
|
||||
|
||||
if (serialTotalBytesWaiting(core.telemport) != 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue