diff options
author | Josh Blum <josh@joshknows.com> | 2010-06-18 17:24:39 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-06-18 17:24:39 -0700 |
commit | 2d7c3f4cc38627a8f0243b78c3c10adc6f1cda46 (patch) | |
tree | 906ef314d0a401377a2bde4b83e116710f4194eb /host/utils | |
parent | f58cf8f6dc0b0bae5b7644a03aa30a57e99e595a (diff) | |
parent | e3058c022e4d71401a073fdaa16a97808977e23b (diff) | |
download | uhd-2d7c3f4cc38627a8f0243b78c3c10adc6f1cda46.tar.gz uhd-2d7c3f4cc38627a8f0243b78c3c10adc6f1cda46.tar.bz2 uhd-2d7c3f4cc38627a8f0243b78c3c10adc6f1cda46.zip |
Merge branch 'burn_dbid' into pre_merge
Diffstat (limited to 'host/utils')
-rw-r--r-- | host/utils/uhd_burn_db_eeprom.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/host/utils/uhd_burn_db_eeprom.cpp b/host/utils/uhd_burn_db_eeprom.cpp index dfd9decba..ba7aa6cec 100644 --- a/host/utils/uhd_burn_db_eeprom.cpp +++ b/host/utils/uhd_burn_db_eeprom.cpp @@ -32,16 +32,6 @@ using namespace uhd; using namespace uhd::usrp; namespace po = boost::program_options; -//used with lexical cast to parse a hex string -template <class T> struct to_hex{ - T value; - operator T() const {return value;} - friend std::istream& operator>>(std::istream& in, to_hex& out){ - in >> std::hex >> out.value; - return in; - } -}; - int UHD_SAFE_MAIN(int argc, char *argv[]){ //command line variables std::string args, db_name, unit; @@ -55,7 +45,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ ("args", po::value<std::string>(&args)->default_value(""), "device address args [default = \"\"]") ("db", po::value<std::string>(&db_name)->default_value(""), "dboard name [default = \"\"]") ("unit", po::value<std::string>(&unit)->default_value(""), "which unit [RX or TX]") - ("id", po::value<std::string>(), "dboard id to burn (hex string), omit for readback") + ("id", po::value<std::string>(), "dboard id to burn, omit for readback") ; po::variables_map vm; |