diff options
author | Martin Braun <martin.braun@ettus.com> | 2015-07-20 13:07:33 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-07-20 13:07:33 -0700 |
commit | af42e93a6e71c9b7ed03e6a208c8f4adfa74b68e (patch) | |
tree | 23c0c6b3f36954e364b69578ceb80a9c69e55416 /host/lib | |
parent | 8603c6a3eeb114081bae40eac2b8c45d05e96f66 (diff) | |
parent | b84c1c8f2d6e50efb1d013ad5c1315cfb20d68f8 (diff) | |
download | uhd-af42e93a6e71c9b7ed03e6a208c8f4adfa74b68e.tar.gz uhd-af42e93a6e71c9b7ed03e6a208c8f4adfa74b68e.tar.bz2 uhd-af42e93a6e71c9b7ed03e6a208c8f4adfa74b68e.zip |
Merge branch 'maint'
Conflicts:
host/include/uhd/transport/nirio/nirio_driver_iface.h
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/e300/e300_eeprom_manager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/e300/e300_eeprom_manager.cpp b/host/lib/usrp/e300/e300_eeprom_manager.cpp index 778e3150c..752bd3768 100644 --- a/host/lib/usrp/e300/e300_eeprom_manager.cpp +++ b/host/lib/usrp/e300/e300_eeprom_manager.cpp @@ -38,7 +38,7 @@ static void _string_to_bytes(const std::string &string, size_t max_len, boost::u for (size_t i = 0; i < len; i++){ buffer[i] = string[i]; } - if (len < max_len - 1) + if (len < max_len) buffer[len] = '\0'; } @@ -226,10 +226,10 @@ std::string e300_eeprom_manager::get_mb_type_string(void) const _mb_eeprom["product"]); switch (product) { case E300_MB_PID: - return "E300"; + return "E3XX"; case E310_MB_PID: - return "E310"; + return "E3XX"; default: return "UNKNOWN"; |