diff --git a/M17Control.cpp b/M17Control.cpp index 058cb22..bca351f 100644 --- a/M17Control.cpp +++ b/M17Control.cpp @@ -332,6 +332,8 @@ bool CM17Control::writeModem(unsigned char* data, unsigned int len) writeQueueRF(data); } + + // Fall through to the next section } } } @@ -444,6 +446,8 @@ 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; } if (m_rfState == RS_RF_REJECTED) { @@ -462,7 +466,7 @@ bool CM17Control::writeModem(unsigned char* data, unsigned int len) return false; } - return true; + return false; } unsigned int CM17Control::readModem(unsigned char* data) diff --git a/Version.h b/Version.h index 92f4910..acc024f 100644 --- a/Version.h +++ b/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20201025"; +const char* VERSION = "20201026"; #endif