summaryrefslogtreecommitdiffstats
path: root/src/OutputUHD.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-05-03 16:50:33 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-05-03 16:50:33 +0200
commit4dbd0467ac3dce07c1826f99355e0a9a31cf707d (patch)
tree1154a0715fc205775671805a84dcdc9f244fea95 /src/OutputUHD.h
parent0c3111cfdac1a762f9eff815f3c3a67981d46ec5 (diff)
downloaddabmod-4dbd0467ac3dce07c1826f99355e0a9a31cf707d.tar.gz
dabmod-4dbd0467ac3dce07c1826f99355e0a9a31cf707d.tar.bz2
dabmod-4dbd0467ac3dce07c1826f99355e0a9a31cf707d.zip
gps fix detector: add timeout
Diffstat (limited to 'src/OutputUHD.h')
-rw-r--r--src/OutputUHD.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/OutputUHD.h b/src/OutputUHD.h
index 03acd94..2017f60 100644
--- a/src/OutputUHD.h
+++ b/src/OutputUHD.h
@@ -120,8 +120,13 @@ struct UHDWorkerData {
// If we want to verify loss of refclk
bool check_refclk_loss;
+ // If we want to check for the gps_fixtype sensor
bool check_gpsfix;
+ // After how much time without fix we abort
+ int max_gps_holdover; // seconds
+
+
// muting set by remote control
bool muting;
@@ -183,6 +188,7 @@ struct OutputUHDConfig {
bool enableSync;
bool muteNoTimestamps;
unsigned dabMode;
+ unsigned maxGPSHoldoverTime;
/* allowed values : auto, int, sma, mimo */
std::string refclk_src;