From f97fdac0193ab2053bd43c3d92a69b14faf9d15c Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 9 Jul 2024 09:44:18 +0200 Subject: Make remaining_holder_s always non-null --- src/output/Dexter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output') 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; -- cgit v1.2.3