mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-13 09:17:20 -05:00
Fix Compiler Errors if librtlsdr not found;
This commit is contained in:
@@ -1470,10 +1470,14 @@ cleanupAndExit (dsd_opts * opts, dsd_state * state)
|
||||
closeWavOutFileR (opts, state);
|
||||
}
|
||||
closeSymbolOutFile (opts, state);
|
||||
|
||||
#ifdef USE_RTLSDR
|
||||
if (opts->rtl_started == 1)
|
||||
{
|
||||
cleanup_rtlsdr_stream();
|
||||
}
|
||||
#endif
|
||||
|
||||
if (opts->use_ncurses_terminal == 1)
|
||||
{
|
||||
ncursesClose(opts);
|
||||
@@ -2654,6 +2658,7 @@ main (int argc, char **argv)
|
||||
sprintf (opts.audio_in_dev, "%s", "pulse");
|
||||
opts.audio_in_type = 0;
|
||||
}
|
||||
UNUSED(vendor); UNUSED(product); UNUSED(serial); UNUSED(userdev); UNUSED(device_count);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -784,6 +784,9 @@ void ncursesMenu (dsd_opts * opts, dsd_state * state)
|
||||
choicec = 18; //exit to decoder screen only if confirmed, otherwise, just go back
|
||||
}
|
||||
|
||||
#else
|
||||
UNUSED(confirm);
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user