aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-03-03 11:54:06 -0800
committerMartin Braun <martin.braun@ettus.com>2016-03-03 12:10:59 -0800
commit1e803ff6ac2ac86acaeb4d4b560846b0aa85fce2 (patch)
tree56cfbec16923262d7ea67a25fb13a8fbce956636 /host
parent59433663b1de1fb142d77da52aab99763577f79a (diff)
downloaduhd-1e803ff6ac2ac86acaeb4d4b560846b0aa85fce2.tar.gz
uhd-1e803ff6ac2ac86acaeb4d4b560846b0aa85fce2.tar.bz2
uhd-1e803ff6ac2ac86acaeb4d4b560846b0aa85fce2.zip
x300: Added power cycle message to uhd_image_loader
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/x300/x300_image_loader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/x300/x300_image_loader.cpp b/host/lib/usrp/x300/x300_image_loader.cpp
index 9ec8a2e13..e8a1b5269 100644
--- a/host/lib/usrp/x300/x300_image_loader.cpp
+++ b/host/lib/usrp/x300/x300_image_loader.cpp
@@ -365,6 +365,7 @@ static void x300_ethernet_load(x300_session_t &session){
}
else std::cout << "successful." << std::endl;
}
+ std::cout << str(boost::format("Power-cycle the USRP %s to use the new image.") % session.dev_addr.get("product", "")) << std::endl;
}
static void x300_pcie_load(x300_session_t &session){
@@ -382,6 +383,7 @@ static void x300_pcie_load(x300_session_t &session){
niusrprio::nirio_status_to_exception(status, "NI-RIO reported the following error:");
}
else std::cout << "successful." << std::endl;
+ std::cout << str(boost::format("Power-cycle the USRP %s to use the new image.") % session.dev_addr.get("product", "")) << std::endl;
}
static bool x300_image_loader(const image_loader::image_loader_args_t &image_loader_args){