Arrange to return a non-zero exit code if the SDR thread unexpectedly halts

This commit is contained in:
Oliver Jowett 2019-03-07 18:35:47 +00:00
parent 47e43778a6
commit 9dfc3e7aa6
2 changed files with 10 additions and 13 deletions

View file

@ -304,7 +304,7 @@ struct { // Internal state
double sample_rate; // actual sample rate in use (in hz)
uint16_t *log10lut; // Magnitude -> log10 lookup table
int exit; // Exit from the main loop when true
int exit; // Exit from the main loop when true (2 = unclean exit)
// Sample conversion
int dc_filter; // should we apply a DC filter?