mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-21 05:05:38 -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);
|
closeWavOutFileR (opts, state);
|
||||||
}
|
}
|
||||||
closeSymbolOutFile (opts, state);
|
closeSymbolOutFile (opts, state);
|
||||||
|
|
||||||
|
#ifdef USE_RTLSDR
|
||||||
if (opts->rtl_started == 1)
|
if (opts->rtl_started == 1)
|
||||||
{
|
{
|
||||||
cleanup_rtlsdr_stream();
|
cleanup_rtlsdr_stream();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (opts->use_ncurses_terminal == 1)
|
if (opts->use_ncurses_terminal == 1)
|
||||||
{
|
{
|
||||||
ncursesClose(opts);
|
ncursesClose(opts);
|
||||||
@@ -2654,6 +2658,7 @@ main (int argc, char **argv)
|
|||||||
sprintf (opts.audio_in_dev, "%s", "pulse");
|
sprintf (opts.audio_in_dev, "%s", "pulse");
|
||||||
opts.audio_in_type = 0;
|
opts.audio_in_type = 0;
|
||||||
}
|
}
|
||||||
|
UNUSED(vendor); UNUSED(product); UNUSED(serial); UNUSED(userdev); UNUSED(device_count);
|
||||||
#endif
|
#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
|
choicec = 18; //exit to decoder screen only if confirmed, otherwise, just go back
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
UNUSED(confirm);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user