[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/01: uhd: Fixed bug in single-channel cas
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/01: uhd: Fixed bug in single-channel case (index error) |
Date: |
Wed, 28 Oct 2015 14:38:23 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit cfac81aaeae8b7fa2c5194cd36e6bc6fa74f68b1
Author: Martin Braun <address@hidden>
Date: Tue Oct 27 15:00:16 2015 -0700
uhd: Fixed bug in single-channel case (index error)
---
gr-uhd/apps/uhd_app.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gr-uhd/apps/uhd_app.py b/gr-uhd/apps/uhd_app.py
index 9721174..bb4b9a7 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