From 0efb3830dcd441ffdb53ebe69f2dc2886614fb8b Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 12 Dec 2020 16:28:14 +0100 Subject: USRP: Handle external pps_src on startup --- src/output/USRPTime.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/output/USRPTime.cpp b/src/output/USRPTime.cpp index 232fa58..d1197ec 100644 --- a/src/output/USRPTime.cpp +++ b/src/output/USRPTime.cpp @@ -68,6 +68,9 @@ USRPTime::USRPTime( // let verify_time handle time setup } } + else if (m_conf.pps_src == "external") { + set_usrp_time_from_pps(); + } else { throw std::runtime_error("USRPTime not implemented yet: " + m_conf.pps_src); -- cgit v1.2.3