From 8c0e8ce455ecc02e0181eec23b1a322c1f3297b6 Mon Sep 17 00:00:00 2001 From: Pavel Demin Date: Sat, 15 Dec 2018 12:31:52 +0000 Subject: [PATCH] increase call length in upload-to-pskreporter.c --- projects/sdr_transceiver_ft8/app/upload-to-pskreporter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/sdr_transceiver_ft8/app/upload-to-pskreporter.c b/projects/sdr_transceiver_ft8/app/upload-to-pskreporter.c index 9f9222065..e7921ac00 100644 --- a/projects/sdr_transceiver_ft8/app/upload-to-pskreporter.c +++ b/projects/sdr_transceiver_ft8/app/upload-to-pskreporter.c @@ -70,7 +70,7 @@ int main(int argc, char *argv[]) struct timespec ts; double sync, dt; int32_t snr, freq, counter, rc, padding, sequence, size; - char buffer[512], line[64], call[8], grid[8], *src, *dst, *start; + char buffer[512], line[64], call[16], grid[8], *src, *dst, *start; char header[] = { 0x00, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -184,7 +184,7 @@ int main(int argc, char *argv[]) && read_int(&src, &snr) && read_dbl(&src, &dt) && read_int(&src, &freq) - && sscanf(src, "%6s %4s", call, grid); + && sscanf(src, "%13s %4s", call, grid); if(!rc) continue;