From 829863ab82ca3743c64c76310af5eebcaab1fc84 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 5 May 2023 14:26:16 +0200 Subject: Dexter: Only do handle_hw_time when synchronous is enabled --- src/output/Dexter.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/output/Dexter.cpp b/src/output/Dexter.cpp index 25de030..c1d8d2f 100644 --- a/src/output/Dexter.cpp +++ b/src/output/Dexter.cpp @@ -620,9 +620,13 @@ size_t Dexter::receive_frame( bool Dexter::is_clk_source_ok() { - handle_hw_time(); - - return m_clock_state != DexterClockState::Startup; + if (m_conf.enableSync) { + handle_hw_time(); + return m_clock_state != DexterClockState::Startup; + } + else { + return true; + } } const char* Dexter::device_name(void) const -- cgit v1.2.3