[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] 52mhz clock patch

From: Walter Barmak
Subject: [Discuss-gnuradio] 52mhz clock patch
Date: Tue, 30 Aug 2011 13:27:35 -0300


i'm about to buy the 52mhz clock and was wondering whether i need to
patch my gnuradio which is the git version (gnuradio + uhd).

according to what i've read, i have to create a file with the following:
diff --git a/usrp/host/lib/usrp_basic.cc b/usrp/host/lib/usrp_basic.cc
index 5b2f7ff..8f50ff2 100644
--- a/usrp/host/lib/usrp_basic.cc
+++ b/usrp/host/lib/usrp_basic.cc
@@ -107,7 +107,7 @@ usrp_basic::usrp_basic (int which_board,
   : d_udh (0), d_ctx (0),
     d_usb_data_rate (16000000),        // SWAG, see below
     d_bytes_per_poll ((int) (POLLING_INTERVAL * d_usb_data_rate)),
-    d_verbose (false), d_fpga_master_clock_freq(64000000), d_db(2)
+    d_verbose (false), d_fpga_master_clock_freq(52000000), d_db(2)
    * SWAG: Scientific Wild Ass Guess.
let's say i call it patch.patch. then i shall do:
patch -p0 patch.patch 

and that's it?
thanks in advance,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]