Fix the return status for M17 RF data.

This commit is contained in:
Jonathan Naylor
2021-05-25 06:56:01 +01:00
parent ccdf708bbd
commit bf3bf07747
2 changed files with 4 additions and 2 deletions

View File

@@ -341,9 +341,11 @@ bool CM17Control::writeModem(unsigned char* data, unsigned int len)
LogMessage("M17, received RF end of transmission from %s to %s, %.1f seconds, BER: %.1f%%", source.c_str(), dest.c_str(), float(m_rfFrames) / 25.0F, float(m_rfErrs * 100U) / float(m_rfBits));
writeEndRF();
}
return true;
}
return true;
return false;
}
unsigned int CM17Control::readModem(unsigned char* data)