mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
reverting previous fix. This doesn't solve all conditions.
I need to add a telemetry_switch conf or feature to solve enabling MSP over FRSKy with switch not activated when armed ( i.e. using bt serial for tuning sessions ), but it will break when not using telemetry switch. Better to keep it like this for now.
This commit is contained in:
parent
b55496b13f
commit
0d974e2882
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ static uint8_t cycleNum = 0;
|
||||||
|
|
||||||
void sendTelemetry(void)
|
void sendTelemetry(void)
|
||||||
{
|
{
|
||||||
if (mcfg.telemetry_softserial == TELEMETRY_UART && (!f.ARMED || !rcOptions[BOXTELEMETRY]))
|
if (mcfg.telemetry_softserial == TELEMETRY_UART && !f.ARMED && !rcOptions[BOXTELEMETRY])
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (serialTotalBytesWaiting(core.telemport) != 0)
|
if (serialTotalBytesWaiting(core.telemport) != 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue