From 971f6de77c6b67515b5d37d748e823da155b310c Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 24 Oct 2010 16:01:47 -0700 Subject: dbsrx: allow for setup time after changing the vco selection --- host/lib/usrp/dboard/db_dbsrx.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/lib/usrp/dboard/db_dbsrx.cpp') 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( -- cgit v1.2.3