diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-12-12 16:28:14 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-12-12 16:28:14 +0100 |
commit | 0efb3830dcd441ffdb53ebe69f2dc2886614fb8b (patch) | |
tree | ce9c5c0be7bf19aa57503eaf3824a564f0d98efb /src | |
parent | 58e264d8ba706f8b8f9fdba6f0256efc21702394 (diff) | |
download | dabmod-0efb3830dcd441ffdb53ebe69f2dc2886614fb8b.tar.gz dabmod-0efb3830dcd441ffdb53ebe69f2dc2886614fb8b.tar.bz2 dabmod-0efb3830dcd441ffdb53ebe69f2dc2886614fb8b.zip |
USRP: Handle external pps_src on startup
Diffstat (limited to 'src')
-rw-r--r-- | src/output/USRPTime.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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); |