Update dsd_gps.c

In LRRP-file we saw TGT and not SRC.
This commit is contained in:
Michael 2024-08-17 18:44:04 +02:00 committed by GitHub
parent 29a39b7196
commit f1a08c81d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -626,8 +626,8 @@ void dmr_embedded_gps (dsd_opts * opts, dsd_state * state, uint8_t lc_bits[])
char * timestr = getTime(); char * timestr = getTime();
int src = 0; int src = 0;
if (slot == 0) src = state->lasttg; if (slot == 0) src = state->lastsrc;
if (slot == 1) src = state->lasttgR; if (slot == 1) src = state->lastsrcR;
//open file by name that is supplied in the ncurses terminal, or cli //open file by name that is supplied in the ncurses terminal, or cli
pFile = fopen (opts->lrrp_out_file, "a"); pFile = fopen (opts->lrrp_out_file, "a");
@ -763,4 +763,4 @@ void apx_embedded_gps (dsd_opts * opts, dsd_state * state, uint8_t lc_bits[])
} }
fprintf (stderr, "%s", KNRM); fprintf (stderr, "%s", KNRM);
} }