diff options
Diffstat (limited to 'host/lib/usrp/netd/netd_impl.cpp')
-rw-r--r-- | host/lib/usrp/netd/netd_impl.cpp | 8 |
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() {} |