diff options
author | Martin Braun <martin.braun@ettus.com> | 2015-10-27 15:00:16 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-10-27 15:00:16 -0700 |
commit | cfac81aaeae8b7fa2c5194cd36e6bc6fa74f68b1 (patch) | |
tree | 89e8cd2c5cf4363c1fafc6b2ef3c790d38f28a64 /gr-uhd | |
parent | 8f70ee3893cac5c9a93e35ba1c332af4c87d07ba (diff) |
uhd: Fixed bug in single-channel case (index error)
Diffstat (limited to 'gr-uhd')
-rw-r--r-- | gr-uhd/apps/uhd_app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-uhd/apps/uhd_app.py b/gr-uhd/apps/uhd_app.py index 9721174d4d..bb4b9a78af 100644 --- a/gr-uhd/apps/uhd_app.py +++ b/gr-uhd/apps/uhd_app.py @@ -239,7 +239,7 @@ class UHDApp(object): self.usrp.clear_command_time(mb_idx) self.vprint("Syncing channels...".format(prefix=self.prefix)) time.sleep(COMMAND_DELAY) - self.freq = self.usrp.get_center_freq(self.channels[1]) + self.freq = self.usrp.get_center_freq(self.channels[0]) self.vprint("First channel has freq: {freq} MHz.".format(freq=self.freq/1e6)) @staticmethod |