RTL work; Reassign CLI Switches; Fix CTRL+C;

This commit is contained in:
lwvmobile
2022-12-14 16:21:30 -05:00
parent b6f270be05
commit 5422b337bb
4 changed files with 247 additions and 154 deletions

View File

@@ -790,7 +790,7 @@ static void *controller_thread_fn(void *arg)
/* Set the sample rate */
verbose_set_sample_rate(dongle.dev, dongle.rate);
fprintf (stderr, "Output at %u Hz.\n", demod.rate_in/demod.post_downsample);
fprintf (stderr, "Press CTRL + C to close.\n"); //Kindly remind user to double tap CTRL + C
fprintf (stderr, "Press CTRL + C to close.\n");
while (!exitflag) {
safe_cond_wait(&s->hop, &s->hop_m);