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:
KipK 2014-01-16 17:18:43 +01:00
parent b55496b13f
commit 0d974e2882
1 changed files with 1 additions and 1 deletions

View File

@ -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)