summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-01-07 09:54:08 -0800
committerNicholas Corgan <nick.corgan@ettus.com>2013-01-07 09:54:08 -0800
commitab380c043d52ae732a97eb7f076bb0d66246badd (patch)
treef6e6d37b6c8a7045af6330cc022a036f20d53dc4 /host
parent2acddaccbde707afe8c28f183bb4418947384786 (diff)
parent22dbcc95205437b06e23096be91bfb054b7dfb80 (diff)
downloaduhd-ab380c043d52ae732a97eb7f076bb0d66246badd.tar.gz
uhd-ab380c043d52ae732a97eb7f076bb0d66246badd.tar.bz2
uhd-ab380c043d52ae732a97eb7f076bb0d66246badd.zip
Merge branch 'maint'
Diffstat (limited to 'host')
-rw-r--r--host/utils/usrp_n2xx_simple_net_burner.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/utils/usrp_n2xx_simple_net_burner.cpp b/host/utils/usrp_n2xx_simple_net_burner.cpp
index ce2e9a9fc..901842538 100644
--- a/host/utils/usrp_n2xx_simple_net_burner.cpp
+++ b/host/utils/usrp_n2xx_simple_net_burner.cpp
@@ -502,13 +502,13 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
}
//Prompt user to reset USRP
- std::string user_response = "";
+ std::string user_response = "foo";
bool reset = false;
- while(user_response != "yes" and user_response != "no" and user_response != "y" and user_response != "n"){
- std::cout << std::endl << "Image burning successful. Reset USRP (yes/no)? ";
+ while(user_response != "y" and user_response != "" and user_response != "n"){
+ std::cout << std::endl << "Image burning successful. Reset USRP (Y/n)? ";
std::getline(std::cin, user_response);
std::transform(user_response.begin(), user_response.end(), user_response.begin(), ::tolower);
- reset = (user_response == "yes" or user_response == "y");
+ reset = (user_response == "" or user_response == "y");
}
std::cout << std::endl; //Formatting
if(reset) reset_usrp(udp_transport);