From cf5b7b0307c12303abd24b16dadf95dfddb4b340 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 20 Apr 2011 01:37:07 +0100 Subject: usrp-e100: shrink name field to git mcr into eeprom --- host/lib/usrp/mboard_eeprom.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/mboard_eeprom.cpp') diff --git a/host/lib/usrp/mboard_eeprom.cpp b/host/lib/usrp/mboard_eeprom.cpp index 29bc5ee32..297de990f 100644 --- a/host/lib/usrp/mboard_eeprom.cpp +++ b/host/lib/usrp/mboard_eeprom.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include using namespace uhd; @@ -251,8 +252,8 @@ struct e100_eeprom_map{ unsigned char env_var[16]; unsigned char env_setting[64]; unsigned char serial[10]; - unsigned char name[NAME_MAX_LEN]; - float mcr; + unsigned char name[16]; + unsigned char mcr[sizeof(float)]; }; template static const byte_vector_t to_bytes(const T &item){ -- cgit v1.2.3