summaryrefslogtreecommitdiffstats
path: root/src/output/SDRDevice.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-06-18 15:57:26 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-06-18 15:57:26 +0200
commitb76ebdb856b20a8078c6386bc20e79aa0d8db741 (patch)
treed3cef5c00205ea1e755267e9e8f805c179a71ffb /src/output/SDRDevice.h
parent753fb5451b3f31aff2c389126467efa626975d78 (diff)
downloaddabmod-b76ebdb856b20a8078c6386bc20e79aa0d8db741.tar.gz
dabmod-b76ebdb856b20a8078c6386bc20e79aa0d8db741.tar.bz2
dabmod-b76ebdb856b20a8078c6386bc20e79aa0d8db741.zip
Rework GPSDO fix check
Accelerate startup, take advantage of new UHD sensor, fix startup issue.
Diffstat (limited to 'src/output/SDRDevice.h')
-rw-r--r--src/output/SDRDevice.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/output/SDRDevice.h b/src/output/SDRDevice.h
index bd1a518..9e052b0 100644
--- a/src/output/SDRDevice.h
+++ b/src/output/SDRDevice.h
@@ -106,10 +106,13 @@ struct FrameData {
class SDRDevice {
public:
struct RunStatistics {
- size_t num_underruns;
- size_t num_late_packets;
- size_t num_overruns;
- size_t num_frames_modulated;
+ size_t num_underruns = 0;
+ size_t num_late_packets = 0;
+ size_t num_overruns = 0;
+ size_t num_frames_modulated = 0;
+
+ int gpsdo_num_sv = 0;
+ bool gpsdo_holdover = false;
};
virtual void tune(double lo_offset, double frequency) = 0;