diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-27 15:57:35 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-27 15:57:35 -0700 |
commit | 0208b28e58e3719dc4dfb8df73fe5ae49e4a6306 (patch) | |
tree | 346b6e149f19e88125fe4197e39f83855ce65ecf /host/lib/usrp/usrp_e/usrp_e_impl.cpp | |
parent | fa7704be20005a705efdc96aa785d80911638107 (diff) | |
download | uhd-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.cpp | 5 |
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( |