From 01bbb73cec7724c15ecad0e841612d3b67f10522 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 23 Jan 2018 07:54:09 +0100 Subject: Fix compilation with disabled UHD and SoapySDR --- src/ConfigParser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index 7603c1e..e0bf6dc 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -426,7 +426,9 @@ void parse_args(int argc, char **argv, mod_settings_t& mod_settings) break; case 'o': mod_settings.tist_offset_s = strtod(optarg, NULL); +#if defined(HAVE_OUTPUT_UHD) mod_settings.sdr_device_config.enableSync = true; +#endif break; case 'm': mod_settings.dabMode = strtol(optarg, NULL, 0); -- cgit v1.2.3