diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-04-27 13:43:22 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-04-27 13:43:22 +0200 |
commit | f0bb1e24952c7e261ba13907c0a5d8c3e1d198ca (patch) | |
tree | 08992867c48cc4daf8841275969d484497e34c1d /src/output/Dexter.h | |
parent | 830fb3ab0a8631055b2341b8dac50b937b6e99bb (diff) | |
download | dabmod-f0bb1e24952c7e261ba13907c0a5d8c3e1d198ca.tar.gz dabmod-f0bb1e24952c7e261ba13907c0a5d8c3e1d198ca.tar.bz2 dabmod-f0bb1e24952c7e261ba13907c0a5d8c3e1d198ca.zip |
Improve dexter clock handling
Diffstat (limited to 'src/output/Dexter.h')
-rw-r--r-- | src/output/Dexter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output/Dexter.h b/src/output/Dexter.h index f70bb14..d4f425f 100644 --- a/src/output/Dexter.h +++ b/src/output/Dexter.h @@ -84,7 +84,7 @@ class Dexter : public Output::SDRDevice double timeout_secs) override; // Return true if GPS and reference clock inputs are ok - virtual bool is_clk_source_ok() const override; + virtual bool is_clk_source_ok() override; virtual const char* device_name() const override; virtual std::optional<double> get_temperature() const override; @@ -129,6 +129,7 @@ class Dexter : public Output::SDRDevice // Only valid when m_clock_state Holdover std::chrono::steady_clock::time_point m_holdover_since = std::chrono::steady_clock::time_point::min(); + std::time_t m_holdover_since_t = 0; }; } // namespace Output |