From 5c93024bc2d5235579bd3e815d56483935e9c48e Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 2 Sep 2009 13:41:56 -0700 Subject: Modifications to usrp2 source and sink so that set center freq is called afer set lo offset. --- grc/blocks/usrp2_sink_xxxx.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'grc/blocks/usrp2_sink_xxxx.xml') diff --git a/grc/blocks/usrp2_sink_xxxx.xml b/grc/blocks/usrp2_sink_xxxx.xml index 639f96cf4..f2ee4d151 100644 --- a/grc/blocks/usrp2_sink_xxxx.xml +++ b/grc/blocks/usrp2_sink_xxxx.xml @@ -2,6 +2,7 @@ @@ -16,14 +17,16 @@ usrp2.sink_$(type.fcn)($interface) usrp2.sink_$(type.fcn)($interface, $mac_addr) #end if self.$(id).set_interp($interpolation) -self.$(id).set_center_freq($frequency) -self.$(id).set_gain($gain) #if $lo_offset() != float('inf') self.$(id).set_lo_offset($lo_offset) -#end if - set_lo_offset($lo_offset) +#end if +self.$(id).set_center_freq($frequency) +self.$(id).set_gain($gain) set_interp($interpolation) - set_center_freq($frequency) + #if $lo_offset() != float('inf') +self.$(id).set_lo_offset($lo_offset) +#end if +self.$(id).set_center_freq($frequency) set_gain($gain) Output Type -- cgit