mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-12 16:57:23 -05:00
Fix to MBE filenames for IMBE types
Fix MBE filenames, no nac/tg on ProVoice type
This commit is contained in:
@@ -242,7 +242,7 @@ closeMbeOutFile (dsd_opts * opts, dsd_state * state)
|
||||
strftime (datestr, 31, "%Y-%m-%d-%H%M%S", &timep);
|
||||
|
||||
sprintf (newfilename, "%s%s", datestr, ext); //this one
|
||||
if (state->lastsynctype == 0 || state->lastsynctype)
|
||||
if (state->lastsynctype == 0 || state->lastsynctype == 1)
|
||||
{
|
||||
sprintf (newfilename, "%s-nac%X-tg%i%s", datestr, state->nac, talkgroup, ext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user