summaryrefslogtreecommitdiff
path: root/gr-usrp2/src/usrp2_source_16sc.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_16sc.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_16sc.cc')
-rw-r--r--gr-usrp2/src/usrp2_source_16sc.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-usrp2/src/usrp2_source_16sc.cc b/gr-usrp2/src/usrp2_source_16sc.cc
index 1ff32a56e..96dd628b9 100644
--- a/gr-usrp2/src/usrp2_source_16sc.cc
+++ b/gr-usrp2/src/usrp2_source_16sc.cc
@@ -21,7 +21,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#include <usrp2_source_16sc.h>
@@ -47,6 +47,7 @@ usrp2_source_16sc::usrp2_source_16sc(const std::string &ifc, const std::string &
usrp2_source_16sc::~usrp2_source_16sc()
{
+ // NOP
}
int
@@ -58,7 +59,7 @@ usrp2_source_16sc::work(int noutput_items,
rx_16sc_handler::sptr handler = rx_16sc_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