diff options
author | Josh Blum | 2010-04-01 16:01:08 -0700 |
---|---|---|
committer | Josh Blum | 2010-04-01 16:01:08 -0700 |
commit | e390bcd9a69e13add9ffe3da430ba8ce19e88819 (patch) | |
tree | 5b0d9709ad22ee87c8672df45eb864ed305c734a | |
parent | a87552815119742d98561f9b53ab0da5513514bb (diff) | |
download | gnuradio-e390bcd9a69e13add9ffe3da430ba8ce19e88819.tar.gz gnuradio-e390bcd9a69e13add9ffe3da430ba8ce19e88819.tar.bz2 gnuradio-e390bcd9a69e13add9ffe3da430ba8ce19e88819.zip |
Use simple usrp from uhd.
-rw-r--r-- | gr-uhd/lib/uhd_simple_sink.cc | 2 | ||||
-rw-r--r-- | gr-uhd/lib/uhd_simple_sink.h | 4 | ||||
-rw-r--r-- | gr-uhd/lib/uhd_simple_source.cc | 2 | ||||
-rw-r--r-- | gr-uhd/lib/uhd_simple_source.h | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/gr-uhd/lib/uhd_simple_sink.cc b/gr-uhd/lib/uhd_simple_sink.cc index a22b52421..107a4ef6c 100644 --- a/gr-uhd/lib/uhd_simple_sink.cc +++ b/gr-uhd/lib/uhd_simple_sink.cc @@ -49,7 +49,7 @@ uhd_simple_sink::uhd_simple_sink( gr_make_io_signature(1, 1, type.size), gr_make_io_signature(0, 0, 0) ), _type(type){ - _dev = uhd::simple_device::make(args); + _dev = uhd::usrp::simple_usrp::make(args); } uhd_simple_sink::~uhd_simple_sink(void){ diff --git a/gr-uhd/lib/uhd_simple_sink.h b/gr-uhd/lib/uhd_simple_sink.h index aa8d1144c..735f72bdd 100644 --- a/gr-uhd/lib/uhd_simple_sink.h +++ b/gr-uhd/lib/uhd_simple_sink.h @@ -24,7 +24,7 @@ #define INCLUDED_UHD_SIMPLE_SINK_H #include <gr_sync_block.h> -#include <uhd/simple_device.hpp> +#include <uhd/usrp/simple_usrp.hpp> class uhd_simple_sink; @@ -48,7 +48,7 @@ public: ); protected: - uhd::simple_device::sptr _dev; + uhd::usrp::simple_usrp::sptr _dev; const uhd::io_type_t _type; }; diff --git a/gr-uhd/lib/uhd_simple_source.cc b/gr-uhd/lib/uhd_simple_source.cc index 677099f11..4a40c2cfc 100644 --- a/gr-uhd/lib/uhd_simple_source.cc +++ b/gr-uhd/lib/uhd_simple_source.cc @@ -48,7 +48,7 @@ uhd_simple_source::uhd_simple_source( gr_make_io_signature(0, 0, 0), gr_make_io_signature(1, 1, type.size) ), _type(type){ - _dev = uhd::simple_device::make(args); + _dev = uhd::usrp::simple_usrp::make(args); set_streaming(false); } diff --git a/gr-uhd/lib/uhd_simple_source.h b/gr-uhd/lib/uhd_simple_source.h index 50b1c9518..c498c5715 100644 --- a/gr-uhd/lib/uhd_simple_source.h +++ b/gr-uhd/lib/uhd_simple_source.h @@ -24,7 +24,7 @@ #define INCLUDED_UHD_SIMPLE_SOURCE_H #include <gr_sync_block.h> -#include <uhd/simple_device.hpp> +#include <uhd/usrp/simple_usrp.hpp> class uhd_simple_source; @@ -48,7 +48,7 @@ public: ); protected: - uhd::simple_device::sptr _dev; + uhd::usrp::simple_usrp::sptr _dev; const uhd::io_type_t _type; bool _is_streaming; void set_streaming(bool enb); |