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)); 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(); writeEndRF();
} }
return true;
} }
return true; return false;
} }
unsigned int CM17Control::readModem(unsigned char* data) unsigned int CM17Control::readModem(unsigned char* data)

View File

@@ -19,6 +19,6 @@
#if !defined(VERSION_H) #if !defined(VERSION_H)
#define VERSION_H #define VERSION_H
const char* VERSION = "20210518"; const char* VERSION = "20210525";
#endif #endif