summaryrefslogtreecommitdiff
path: root/gr-usrp2/src/usrp2_source_32fc.cc
diff options
context:
space:
mode:
authorjcorgan2008-09-24 15:36:17 +0000
committerjcorgan2008-09-24 15:36:17 +0000
commit0a6b55e1d0ec6317a57568adb3f196851d080219 (patch)
treee914eda8f03bf758dcd2d6239441eba2ac4fa8d8 /gr-usrp2/src/usrp2_source_32fc.cc
parenta28feaa487290195201ac6767b51a61b05066d40 (diff)
downloadgnuradio-0a6b55e1d0ec6317a57568adb3f196851d080219.tar.gz
gnuradio-0a6b55e1d0ec6317a57568adb3f196851d080219.tar.bz2
gnuradio-0a6b55e1d0ec6317a57568adb3f196851d080219.zip
Minor cleanup
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9651 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-usrp2/src/usrp2_source_32fc.cc')
-rw-r--r--gr-usrp2/src/usrp2_source_32fc.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-usrp2/src/usrp2_source_32fc.cc b/gr-usrp2/src/usrp2_source_32fc.cc
index 5726f2279..f5a3c2f1e 100644
--- a/gr-usrp2/src/usrp2_source_32fc.cc
+++ b/gr-usrp2/src/usrp2_source_32fc.cc
@@ -47,6 +47,7 @@ usrp2_source_32fc::usrp2_source_32fc(const std::string &ifc, const std::string &
usrp2_source_32fc::~usrp2_source_32fc()
{
+ // NOP
}
int
@@ -58,7 +59,7 @@ usrp2_source_32fc::work(int noutput_items,
rx_32fc_handler::sptr handler = rx_32fc_handler::make(noutput_items, USRP2_MIN_RX_SAMPLES, out);
- bool ok = d_u2->rx_samples(0, handler.get());
+ bool ok = d_u2->rx_samples(0, handler.get()); // FIXME: channel number instead of 0
if (!ok){
std::cerr << "usrp2::rx_samples() failed" << std::endl;
return -1; // say we're done