aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/netd
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-05-03 15:49:10 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:52 -0800
commita0ded71188aa96282736a9bc13a086b71f92d965 (patch)
tree71bbb83299d9c55c5eafc4b019745c9c569f2c10 /host/lib/usrp/netd
parentaf35903d17d8cd314a2626f38eded72956459e23 (diff)
downloaduhd-a0ded71188aa96282736a9bc13a086b71f92d965.tar.gz
uhd-a0ded71188aa96282736a9bc13a086b71f92d965.tar.bz2
uhd-a0ded71188aa96282736a9bc13a086b71f92d965.zip
eiscat: Added skeleton for dboard driver support
Diffstat (limited to 'host/lib/usrp/netd')
-rw-r--r--host/lib/usrp/netd/netd_impl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/netd/netd_impl.cpp b/host/lib/usrp/netd/netd_impl.cpp
index 5a8b3e59c..557ebff4a 100644
--- a/host/lib/usrp/netd/netd_impl.cpp
+++ b/host/lib/usrp/netd/netd_impl.cpp
@@ -106,15 +106,15 @@ netd_impl::netd_impl(const device_addr_t& device_addr) :
try {
enumerate_rfnoc_blocks(
0,
- 1,
+ 3, /* num blocks */
3, /* base port */
uhd::sid_t(0x0200),
device_addr
);
- } catch (...) {
- printf("%s Derp\n", __func__);
+ } catch (const std::exception &ex) {
+ UHD_HERE();
+ std::cout << ex.what() << std::endl;
}
-
}
netd_impl::~netd_impl() {}