From 16335c108272321408cae01f2d2bf234eb83fe32 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 18 Jun 2010 16:39:45 -0700 Subject: uhd: added dboard manager call to register xcvr board, implemented in xcvr dboard code --- host/utils/uhd_burn_db_eeprom.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'host/utils/uhd_burn_db_eeprom.cpp') 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 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(&args)->default_value(""), "device address args [default = \"\"]") ("db", po::value(&db_name)->default_value(""), "dboard name [default = \"\"]") ("unit", po::value(&unit)->default_value(""), "which unit [RX or TX]") - ("id", po::value(), "dboard id to burn (hex string), omit for readback") + ("id", po::value(), "dboard id to burn, omit for readback") ; po::variables_map vm; -- cgit v1.2.3