diff options
| author | Josh Blum <josh@joshknows.com> | 2010-11-10 19:19:25 -0800 | 
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2010-11-10 19:19:25 -0800 | 
| commit | b7b3e8288dcd64e47c242edbc5b009b9300615a2 (patch) | |
| tree | 8fd37f00adfa1453ee5856b86a2ad778217c68ae | |
| parent | 8c434f7d63aca25b55d6d13dffcc1d7037261d4f (diff) | |
| download | uhd-b7b3e8288dcd64e47c242edbc5b009b9300615a2.tar.gz uhd-b7b3e8288dcd64e47c242edbc5b009b9300615a2.tar.bz2 uhd-b7b3e8288dcd64e47c242edbc5b009b9300615a2.zip  | |
usrpbbbbbbbbbbbeeeeeeeeeeee fix typo
| -rw-r--r-- | host/lib/usrp/mboard_eeprom.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/mboard_eeprom.cpp b/host/lib/usrp/mboard_eeprom.cpp index 661030aa7..1c2519291 100644 --- a/host/lib/usrp/mboard_eeprom.cpp +++ b/host/lib/usrp/mboard_eeprom.cpp @@ -139,7 +139,7 @@ static void store_n100(const mboard_eeprom_t &mb_eeprom, i2c_iface &iface){   * Implementation of B000 load/store   **********************************************************************/  static const boost::uint8_t B000_EEPROM_ADDR = 0x50; -static const size_t B000X_SERIAL_LEN = 8; +static const size_t B000_SERIAL_LEN = 8;  static const uhd::dict<std::string, boost::uint8_t> USRP_B000_OFFSETS = boost::assign::map_list_of      ("serial", 0xf8) @@ -149,7 +149,7 @@ static const uhd::dict<std::string, boost::uint8_t> USRP_B000_OFFSETS = boost::a  static void load_b000(mboard_eeprom_t &mb_eeprom, i2c_iface &iface){      //extract the serial      mb_eeprom["serial"] = bytes_to_string(iface.read_eeprom( -        B000_EEPROM_ADDR, USRP_B000_OFFSETS["serial"], B000X_SERIAL_LEN +        B000_EEPROM_ADDR, USRP_B000_OFFSETS["serial"], B000_SERIAL_LEN      ));      //extract the name @@ -162,7 +162,7 @@ static void store_b000(const mboard_eeprom_t &mb_eeprom, i2c_iface &iface){      //store the serial      if (mb_eeprom.has_key("serial")) iface.write_eeprom(          B000_EEPROM_ADDR, USRP_B000_OFFSETS["serial"], -        string_to_bytes(mb_eeprom["serial"], B000X_SERIAL_LEN) +        string_to_bytes(mb_eeprom["serial"], B000_SERIAL_LEN)      );      //store the name  | 
