diff options
author | Josh Blum <josh@joshknows.com> | 2012-05-12 14:20:26 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-05-14 11:59:20 -0700 |
commit | c94963a43665809d0a75cebac6283cb7c88a6f5c (patch) | |
tree | d541427555fd5c2aa206321bca2e962cc5aa3644 /host/lib/usrp/usrp2/usrp2_iface.cpp | |
parent | db6ba7d474d248c753ceee47f33db51504a8fd74 (diff) | |
download | uhd-c94963a43665809d0a75cebac6283cb7c88a6f5c.tar.gz uhd-c94963a43665809d0a75cebac6283cb7c88a6f5c.tar.bz2 uhd-c94963a43665809d0a75cebac6283cb7c88a6f5c.zip |
usrp: mboard eeprom map use string as key
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_iface.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_iface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_iface.cpp b/host/lib/usrp/usrp2/usrp2_iface.cpp index 01890ba91..a05710891 100644 --- a/host/lib/usrp/usrp2/usrp2_iface.cpp +++ b/host/lib/usrp/usrp2/usrp2_iface.cpp @@ -16,6 +16,7 @@ // #include "usrp2_regs.hpp" +#include "usrp2_impl.hpp" #include "fw_common.h" #include "usrp2_iface.hpp" #include <uhd/exception.hpp> @@ -108,7 +109,7 @@ public: throw uhd::runtime_error("firmware not responding"); _protocol_compat = ntohl(ctrl_data.proto_ver); - mb_eeprom = mboard_eeprom_t(*this, mboard_eeprom_t::MAP_N100); + mb_eeprom = mboard_eeprom_t(*this, USRP2_EEPROM_MAP_KEY); } ~usrp2_iface_impl(void){UHD_SAFE_CALL( |