diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/utils/usrp_burn_mb_eeprom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/usrp_burn_mb_eeprom.cpp b/host/utils/usrp_burn_mb_eeprom.cpp index 9f2fa611a..ca9a6c8ba 100644 --- a/host/utils/usrp_burn_mb_eeprom.cpp +++ b/host/utils/usrp_burn_mb_eeprom.cpp @@ -52,7 +52,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ std::cout << "Creating USRP device from address: " + args << std::endl; uhd::device::sptr dev = uhd::device::make(args); - uhd::property_tree::sptr tree = (*dev)[0].as<uhd::property_tree::sptr>(); + uhd::property_tree::sptr tree = dev->get_tree(); std::cout << std::endl; if (true /*always readback*/){ |