diff options
author | Josh Blum <josh@joshknows.com> | 2011-10-10 17:41:50 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-10-10 17:41:50 -0700 |
commit | a2c19e5a54ac410b588dd4fc0445071475d56ef9 (patch) | |
tree | 11dd1188a00168e40d9b0fe4e72c5df15ff7d87d /host/lib/usrp/usrp2 | |
parent | da8a6ff1ee9ac9eb14cb290a8fed9a95f5232a21 (diff) | |
download | uhd-a2c19e5a54ac410b588dd4fc0445071475d56ef9.tar.gz uhd-a2c19e5a54ac410b588dd4fc0445071475d56ef9.tar.bz2 uhd-a2c19e5a54ac410b588dd4fc0445071475d56ef9.zip |
usrp: added product and revision fields to eeprom
Diffstat (limited to 'host/lib/usrp/usrp2')
-rw-r--r-- | host/lib/usrp/usrp2/usrp2_iface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_iface.cpp b/host/lib/usrp/usrp2/usrp2_iface.cpp index 5e9759ba5..3c9e0ae0c 100644 --- a/host/lib/usrp/usrp2/usrp2_iface.cpp +++ b/host/lib/usrp/usrp2/usrp2_iface.cpp @@ -291,7 +291,7 @@ public: } rev_type get_rev(void){ - switch (boost::lexical_cast<boost::uint16_t>(mb_eeprom["rev"])){ + switch (boost::lexical_cast<boost::uint16_t>(mb_eeprom["hardware"])){ case 0x0300: case 0x0301: return USRP2_REV3; case 0x0400: return USRP2_REV4; |