summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ConfigParser.cpp2
1 files changed, 2 insertions, 0 deletions
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);