Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more command line options for RTL and shutdown improvement. #109

Open
wants to merge 3 commits into
base: rtl-sdr
Choose a base branch
from

Commits on Jan 22, 2021

  1. Limit PPM values [-100 to 100] and allow negative values to be used.

    Add RTL device selection using supplied command line option. e.g. -o RTL:0.
    Will parse command line option '-o RTL:0' when using RTL input device to extract RTL device index.
    thewraith2008 committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    7e04753 View commit details
    Browse the repository at this point in the history
  2. Fix program exit (CTRL-C) when using RTL device.

    The use of 'static volatile' keyword for 'exitflag' causes the program to halt on call to:
    - pthread_join(demod.thread, NULL); (in cleanup_rtlsdr_stream)
    When 'exitflag' is set in sigfun(), the change is never seen in the demod thread causing it to never to exit.
    
    On CTRL-C, do RTL cleanup/shutdown if needed.
    thewraith2008 committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    6fe7fdc View commit details
    Browse the repository at this point in the history
  3. Compile tested on wrong repo and missed this one thing.

    thewraith2008 committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    783a2fe View commit details
    Browse the repository at this point in the history