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
|
@ -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…
Reference in New Issue