From da7d8192ba8b9454887d4420032f82a9e1885337 Mon Sep 17 00:00:00 2001 From: ED6E0F17 Date: Tue, 21 Jun 2016 19:50:25 +0100 Subject: [PATCH] Update misc.c SSDV is dropping last packet on rtty. (see CAENCP on ssdv.habhub.org) --- tracker/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracker/misc.c b/tracker/misc.c index a4e178d..7556231 100755 --- a/tracker/misc.c +++ b/tracker/misc.c @@ -125,7 +125,7 @@ void StartNewFileIfNeeded(int Channel) if (Config.Channels[Channel].ImageFP) { // At end of file ? - if (Config.Channels[Channel].SSDVPacketNumber >= (Config.Channels[Channel].SSDVNumberOfPackets-1)) + if (Config.Channels[Channel].SSDVPacketNumber >= (Config.Channels[Channel].SSDVNumberOfPackets)) { fclose(Config.Channels[Channel].ImageFP); Config.Channels[Channel].ImageFP = NULL;