diff options
Diffstat (limited to 'gr-digital/examples/uhd_interface.py')
-rw-r--r-- | gr-digital/examples/uhd_interface.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-digital/examples/uhd_interface.py b/gr-digital/examples/uhd_interface.py index a01648715..8420f3eec 100644 --- a/gr-digital/examples/uhd_interface.py +++ b/gr-digital/examples/uhd_interface.py @@ -90,6 +90,9 @@ class uhd_interface: return (actual_samp_rate, actual_sps) + def get_sample_rate(self): + return self.u.get_samp_rate() + def set_gain(self, gain=None): if gain is None: # if no gain was specified, use the mid-point in dB |