M17: Misc Handling / Display Tweaks;

This commit is contained in:
lwvmobile
2024-04-08 18:04:39 -04:00
parent eed267ed3f
commit 129af0ba9e
3 changed files with 20 additions and 7 deletions

View File

@@ -2735,6 +2735,7 @@ main (int argc, char **argv)
opts.pulse_digi_rate_out = 8000;
opts.pulse_digi_out_channels = 1;
sprintf (opts.output_name, "M17 IP Frame");
fprintf (stderr, "Decoding M17 UDP/IP Frames.\n");
}
break;
//don't mess with the modulations unless you really need to
@@ -3343,6 +3344,14 @@ main (int argc, char **argv)
if (state.m17_can_en > 15)
state.m17_can_en = 15;
//if vox is greater than 1, assume user meant 'yes' and set to one
if (state.m17_vox > 1)
state.m17_vox = 1;
//if use_ip is greater than 1, assume user meant 'yes' and set to one
if (opts.m17_use_ip > 1)
opts.m17_use_ip = 1;
//debug print m17dat string
// fprintf (stderr, " %s;", state.m17dat);