[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r10204 - gnuradio/trunk/usrp/host/lib/legacy
From: |
matt |
Subject: |
[Commit-gnuradio] r10204 - gnuradio/trunk/usrp/host/lib/legacy |
Date: |
Thu, 8 Jan 2009 20:43:21 -0700 (MST) |
Author: matt
Date: 2009-01-08 20:43:19 -0700 (Thu, 08 Jan 2009)
New Revision: 10204
Modified:
gnuradio/trunk/usrp/host/lib/legacy/db_xcvr2450.cc
Log:
added frequency offset
Modified: gnuradio/trunk/usrp/host/lib/legacy/db_xcvr2450.cc
===================================================================
--- gnuradio/trunk/usrp/host/lib/legacy/db_xcvr2450.cc 2009-01-09 03:33:16 UTC
(rev 10203)
+++ gnuradio/trunk/usrp/host/lib/legacy/db_xcvr2450.cc 2009-01-09 03:43:19 UTC
(rev 10204)
@@ -649,7 +649,7 @@
* ok is True or False and indicates success or failure,
* actual_baseband_freq is the RF frequency that corresponds to DC in the IF.
*/
- return d_xcvr->set_freq(target_freq);
+ return d_xcvr->set_freq(target_freq+d_lo_offset);
}
bool
@@ -682,6 +682,7 @@
db_xcvr2450_tx::db_xcvr2450_tx(usrp_basic_sptr usrp, int which)
: db_xcvr2450_base(usrp, which)
{
+ set_lo_offset(4.25e6);
//printf("db_xcvr2450_tx::db_xcvr2450_tx\n");
}
@@ -730,7 +731,7 @@
* @param usrp: instance of usrp.source_c
* @param which: 0 or 1 corresponding to side RX_A or RX_B respectively.
*/
-
+ set_lo_offset(4.25e6);
//printf("db_xcvr2450_rx:d_xcvr_2450_rx\n");
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r10204 - gnuradio/trunk/usrp/host/lib/legacy,
matt <=