diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-05-03 16:50:33 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-05-03 16:50:33 +0200 |
commit | 4dbd0467ac3dce07c1826f99355e0a9a31cf707d (patch) | |
tree | 1154a0715fc205775671805a84dcdc9f244fea95 /src/DabMod.cpp | |
parent | 0c3111cfdac1a762f9eff815f3c3a67981d46ec5 (diff) | |
download | dabmod-4dbd0467ac3dce07c1826f99355e0a9a31cf707d.tar.gz dabmod-4dbd0467ac3dce07c1826f99355e0a9a31cf707d.tar.bz2 dabmod-4dbd0467ac3dce07c1826f99355e0a9a31cf707d.zip |
gps fix detector: add timeout
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r-- | src/DabMod.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp index ec1a4cd..dacc84e 100644 --- a/src/DabMod.cpp +++ b/src/DabMod.cpp @@ -559,6 +559,8 @@ int launch_modulator(int argc, char* argv[]) throw std::runtime_error("Configuration error"); } + outputuhd_conf.maxGPSHoldoverTime = pt.get("uhdoutput.max_gps_holdover_time", 0); + useUHDOutput = 1; } #endif @@ -671,10 +673,14 @@ int launch_modulator(int argc, char* argv[]) fprintf(stderr, " UHD\n" " Device: %s\n" " Type: %s\n" - " master_clock_rate: %ld\n", + " master_clock_rate: %ld\n" + " refclk: %s\n" + " pps source: %s\n", outputuhd_conf.device.c_str(), outputuhd_conf.usrpType.c_str(), - outputuhd_conf.masterClockRate); + outputuhd_conf.masterClockRate, + outputuhd_conf.refclk_src.c_str(), + outputuhd_conf.pps_src.c_str()); } #endif else if (useZeroMQOutput) { |