Skip to content

Commit

Permalink
increase call length in upload-to-pskreporter.c
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-demin committed Dec 15, 2018
1 parent 64ab232 commit 8c0e8ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/sdr_transceiver_ft8/app/upload-to-pskreporter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 8c0e8ce

Please sign in to comment.