summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-24 16:01:47 -0700
committerJosh Blum <josh@joshknows.com>2010-10-24 16:01:47 -0700
commit971f6de77c6b67515b5d37d748e823da155b310c (patch)
tree7720d101b81ca2cdd43e62991409c2543018e180 /host
parent2d71c7a6e973b5715ca8e14cac99fb81fca9822c (diff)
downloaduhd-971f6de77c6b67515b5d37d748e823da155b310c.tar.gz
uhd-971f6de77c6b67515b5d37d748e823da155b310c.tar.bz2
uhd-971f6de77c6b67515b5d37d748e823da155b310c.zip
dbsrx: allow for setup time after changing the vco selection
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/dboard/db_dbsrx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/db_dbsrx.cpp b/host/lib/usrp/dboard/db_dbsrx.cpp
index aecd7249d..8ec87a4f7 100644
--- a/host/lib/usrp/dboard/db_dbsrx.cpp
+++ b/host/lib/usrp/dboard/db_dbsrx.cpp
@@ -374,6 +374,9 @@ void dbsrx::set_lo_freq(double target_freq){
//update vco selection and check vtune
send_reg(0x2, 0x2);
read_reg(0x0, 0x0);
+
+ //allow for setup time before checking condition again
+ boost::this_thread::sleep(boost::posix_time::milliseconds(1));
}
if(dbsrx_debug) std::cerr << boost::format(