Notice if we lose the RTLSDR device and reconnect.

Fix some of the more glaring pthread bugs.
This commit is contained in:
Oliver Jowett 2015-01-02 22:29:29 +00:00
parent 5dd1c39710
commit 07bc762055
3 changed files with 49 additions and 13 deletions

View file

@ -311,7 +311,7 @@ struct { // Internal state
int exit; // Exit from the main loop when true
// RTLSDR
int dev_index;
char * dev_name;
int gain;
int enable_agc;
rtlsdr_dev_t *dev;