aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-07-09 09:44:18 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-07-09 09:44:18 +0200
commitf97fdac0193ab2053bd43c3d92a69b14faf9d15c (patch)
tree11c57adcfe308e05bdfbe2b1c863ed8802112eae /src
parent91181df0cfb2a5e33d16c8458a84978c14a005ba (diff)
downloaddabmod-f97fdac0193ab2053bd43c3d92a69b14faf9d15c.tar.gz
dabmod-f97fdac0193ab2053bd43c3d92a69b14faf9d15c.tar.bz2
dabmod-f97fdac0193ab2053bd43c3d92a69b14faf9d15c.zip
Make remaining_holder_s always non-null
Diffstat (limited to 'src')
-rw-r--r--src/output/Dexter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/Dexter.cpp b/src/output/Dexter.cpp
index 41e131a..6e57220 100644
--- a/src/output/Dexter.cpp
+++ b/src/output/Dexter.cpp
@@ -441,7 +441,7 @@ SDRDevice::run_statistics_t Dexter::get_run_statistics(void) const
rs["frames"].v = num_frames_modulated;
rs["in_holdover_since"].v = 0;
- rs["remaining_holdover_s"].v = nullopt;
+ rs["remaining_holdover_s"].v = m_conf.maxGPSHoldoverTime;
switch (m_clock_state) {
case DexterClockState::Startup:
rs["clock_state"].v = "startup"; break;