Minor Fix to Call String;

This commit is contained in:
lwvmobile
2023-06-02 16:42:38 -04:00
parent afba84e584
commit e7a71eabb6
3 changed files with 8 additions and 4 deletions

View File

@@ -342,7 +342,7 @@ void dmr_flco (dsd_opts * opts, dsd_state * state, uint8_t lc_bits[], uint32_t C
state->payload_miR = 0;
state->payload_keyidR = 0;
}
sprintf (state->call_string[slot], "%s", " "); //21 spaces
}
@@ -532,6 +532,10 @@ void dmr_flco (dsd_opts * opts, dsd_state * state, uint8_t lc_bits[], uint32_t C
}
END_FLCO:
//blank the call string here if its a TLC
if (type == 2) sprintf (state->call_string[slot], "%s", " "); //21 spaces
if (unk == 1 || pf == 1)
{
fprintf(stderr, " FLCO=0x%02X FID=0x%02X ", flco, fid);