aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard_eeprom.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-27 20:26:52 -0700
committerJosh Blum <josh@joshknows.com>2011-06-27 20:26:52 -0700
commit5aab802b600dae2d8728ae11550cc2a4e6ba6895 (patch)
tree80454dc7c8f2388fdc77cbf796dbab3a59637180 /host/lib/usrp/dboard_eeprom.cpp
parent9b4c8c7c9c9e9645b0ee27a6d6ad06bbfbf1ae66 (diff)
downloaduhd-5aab802b600dae2d8728ae11550cc2a4e6ba6895.tar.gz
uhd-5aab802b600dae2d8728ae11550cc2a4e6ba6895.tar.bz2
uhd-5aab802b600dae2d8728ae11550cc2a4e6ba6895.zip
usrp: populate a tree from a subdev
Diffstat (limited to 'host/lib/usrp/dboard_eeprom.cpp')
-rw-r--r--host/lib/usrp/dboard_eeprom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard_eeprom.cpp b/host/lib/usrp/dboard_eeprom.cpp
index 0dc3471f7..b3cb54c1c 100644
--- a/host/lib/usrp/dboard_eeprom.cpp
+++ b/host/lib/usrp/dboard_eeprom.cpp
@@ -133,7 +133,7 @@ void dboard_eeprom_t::load(i2c_iface &iface, boost::uint8_t addr){
}
}
-void dboard_eeprom_t::store(i2c_iface &iface, boost::uint8_t addr){
+void dboard_eeprom_t::store(i2c_iface &iface, boost::uint8_t addr) const{
byte_vector_t bytes(DB_EEPROM_CLEN, 0); //defaults to all zeros
bytes[DB_EEPROM_MAGIC] = DB_EEPROM_MAGIC_VALUE;