aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e/usrp_e_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-27 15:57:35 -0700
committerJosh Blum <josh@joshknows.com>2010-10-27 15:57:35 -0700
commit0208b28e58e3719dc4dfb8df73fe5ae49e4a6306 (patch)
tree346b6e149f19e88125fe4197e39f83855ce65ecf /host/lib/usrp/usrp_e/usrp_e_impl.cpp
parentfa7704be20005a705efdc96aa785d80911638107 (diff)
downloaduhd-0208b28e58e3719dc4dfb8df73fe5ae49e4a6306.tar.gz
uhd-0208b28e58e3719dc4dfb8df73fe5ae49e4a6306.tar.bz2
uhd-0208b28e58e3719dc4dfb8df73fe5ae49e4a6306.zip
usrp-e: use clock control to get clock rate, removed temporary constant
Diffstat (limited to 'host/lib/usrp/usrp_e/usrp_e_impl.cpp')
-rw-r--r--host/lib/usrp/usrp_e/usrp_e_impl.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/host/lib/usrp/usrp_e/usrp_e_impl.cpp b/host/lib/usrp/usrp_e/usrp_e_impl.cpp
index 0a7295ff9..1b71c0a52 100644
--- a/host/lib/usrp/usrp_e/usrp_e_impl.cpp
+++ b/host/lib/usrp/usrp_e/usrp_e_impl.cpp
@@ -71,10 +71,6 @@ static device_addrs_t usrp_e_find(const device_addr_t &hint){
**********************************************************************/
static device::sptr usrp_e_make(const device_addr_t &device_addr){
- //The fpga is loaded when:
- // 1) The compatibility number matches.
- // 2) The hash in the hash-file matches.
-
//setup the main interface into fpga
std::string node = device_addr["node"];
std::cout << boost::format("Opening USRP-E on %s") % node << std::endl;
@@ -86,6 +82,7 @@ static device::sptr usrp_e_make(const device_addr_t &device_addr){
//-- 1) The compatibility number matches.
//-- 2) The hash in the hash-file matches.
//------------------------------------------------------------------
+ static const char *hash_file_path = "/tmp/usrp_e100_hash";
//extract the fpga path for usrp-e
std::string usrp_e_fpga_image = find_image_path(