summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-01-14 10:16:37 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-01-14 10:16:37 +0100
commit6c02271b0050dbb2808bb55272b438576d937d4a (patch)
treefca883d5b8ba60eabc4fcb626ccb9092316edcfc /src
parenta0b08159adceda92bbc6344a8298361ff3825d06 (diff)
downloaddabmod-6c02271b0050dbb2808bb55272b438576d937d4a.tar.gz
dabmod-6c02271b0050dbb2808bb55272b438576d937d4a.tar.bz2
dabmod-6c02271b0050dbb2808bb55272b438576d937d4a.zip
Handle pps_src external in USRPTime ctor
Diffstat (limited to 'src')
-rw-r--r--src/output/USRPTime.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/output/USRPTime.cpp b/src/output/USRPTime.cpp
index 232fa58..5f9014c 100644
--- a/src/output/USRPTime.cpp
+++ b/src/output/USRPTime.cpp
@@ -55,7 +55,9 @@ USRPTime::USRPTime(
set_usrp_time_from_localtime();
}
- else if (m_conf.pps_src == "pps") {
+ else if (m_conf.pps_src == "pps" or m_conf.pps_src == "external") {
+ /* Not sure if pps was previously accepted by UHD, or if that was wrong.
+ * The B100 and B200 use 'external'. */
// let verify_time handle time setup
}
else if (m_conf.pps_src == "gpsdo") {