summaryrefslogtreecommitdiffstats
path: root/apps/discover_usrps.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-02-09 16:28:16 -0800
committerJosh Blum <josh@joshknows.com>2010-02-09 16:28:16 -0800
commitc5480830c6e8e8e862523b3ebf3117fda8a100df (patch)
tree65aac999502e58efe5cdfad71bef7ddc3d201444 /apps/discover_usrps.cpp
parentdfd7f99eecefc19effd97034048641de9d6b7e94 (diff)
downloaduhd-c5480830c6e8e8e862523b3ebf3117fda8a100df.tar.gz
uhd-c5480830c6e8e8e862523b3ebf3117fda8a100df.tar.bz2
uhd-c5480830c6e8e8e862523b3ebf3117fda8a100df.zip
renamed usrp_uhd to uhd
Diffstat (limited to 'apps/discover_usrps.cpp')
-rw-r--r--apps/discover_usrps.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/discover_usrps.cpp b/apps/discover_usrps.cpp
index a8d82e015..036d6378a 100644
--- a/apps/discover_usrps.cpp
+++ b/apps/discover_usrps.cpp
@@ -15,13 +15,13 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
-#include <usrp_uhd.hpp>
+#include <uhd.hpp>
#include <boost/program_options.hpp>
#include <boost/format.hpp>
#include <iostream>
namespace po = boost::program_options;
-using namespace usrp_uhd;
+using namespace uhd;
int main(int argc, char *argv[]){
po::options_description desc("Allowed options");
@@ -41,7 +41,7 @@ int main(int argc, char *argv[]){
}
//extract the ip address (not optional for now)
- usrp_uhd::device_addr_t device_addr(usrp_uhd::DEVICE_ADDR_TYPE_UDP);
+ uhd::device_addr_t device_addr(uhd::DEVICE_ADDR_TYPE_UDP);
if (vm.count("ip-addr")) {
device_addr.udp_args.addr = vm["ip-addr"].as<std::string>();
} else {
@@ -50,7 +50,7 @@ int main(int argc, char *argv[]){
}
//discover the usrps
- std::vector<usrp_uhd::device_addr_t> device_addrs = usrp_uhd::device::discover(device_addr);
+ std::vector<uhd::device_addr_t> device_addrs = uhd::device::discover(device_addr);
for (size_t i = 0; i < device_addrs.size(); i++){
std::cout << "--------------------------------------------------" << std::endl;
std::cout << "-- USRP Device " << i << std::endl;