diff options
author | jblum | 2009-02-01 19:26:56 +0000 |
---|---|---|
committer | jblum | 2009-02-01 19:26:56 +0000 |
commit | 09f236be864aaa3b5216eb42676eafb38d47b587 (patch) | |
tree | 101aa35dabe48fd970566783ef4505aae3111f7b /grc/src/grc_gnuradio/usrp/common.py | |
parent | 80fb5db88469ed5c80246846a2086338af7caea4 (diff) | |
download | gnuradio-09f236be864aaa3b5216eb42676eafb38d47b587.tar.gz gnuradio-09f236be864aaa3b5216eb42676eafb38d47b587.tar.bz2 gnuradio-09f236be864aaa3b5216eb42676eafb38d47b587.zip |
options for hb filter in usrp simple source
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10369 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/src/grc_gnuradio/usrp/common.py')
-rw-r--r-- | grc/src/grc_gnuradio/usrp/common.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/src/grc_gnuradio/usrp/common.py b/grc/src/grc_gnuradio/usrp/common.py index 423e35816..33eda351c 100644 --- a/grc/src/grc_gnuradio/usrp/common.py +++ b/grc/src/grc_gnuradio/usrp/common.py @@ -28,14 +28,14 @@ class usrp_helper(object): def _make_usrp(self, *args, **kwargs): self._u = self._usrp_args[0](*args, **kwargs) def _get_u(self): return self._u def _get_io_size(self): return self._usrp_args[1] - def _set_frequency(self, which, subdev, frequency, verbose=False): + def _set_frequency(self, chan, subdev, frequency, verbose=False): """ Set the carrier frequency for the given subdevice. - @param which specifies the DDC/DUC number + @param chan specifies the DDC/DUC number @param frequency the carrier frequency in Hz @param verbose if true, print usrp tuning information """ - r = self._get_u().tune(which, subdev, frequency) + r = self._get_u().tune(chan, subdev, frequency) if not verbose: return print subdev.side_and_name() if r: |