From bf3bf0774765b28564ad9aece66570ec4e46893b Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 25 May 2021 06:56:01 +0100 Subject: [PATCH] Fix the return status for M17 RF data. --- M17Control.cpp | 4 +++- Version.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/M17Control.cpp b/M17Control.cpp index 8ee67d4..b4773b0 100644 --- a/M17Control.cpp +++ b/M17Control.cpp @@ -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) diff --git a/Version.h b/Version.h index 39e7d8e..850d54c 100644 --- a/Version.h +++ b/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20210518"; +const char* VERSION = "20210525"; #endif