Revision 1a86e65a host/lib/usrp/usrp2/mboard_impl.cpp
| b/host/lib/usrp/usrp2/mboard_impl.cpp | ||
|---|---|---|
| 314 | 314 |
return; |
| 315 | 315 |
|
| 316 | 316 |
case MBOARD_PROP_EEPROM_MAP: |
| 317 |
_iface->mb_eeprom = val.as<mboard_eeprom_t>(); |
|
| 318 |
_iface->mb_eeprom.commit(*_iface, mboard_eeprom_t::MAP_NXXX); |
|
| 317 |
// Step1: commit the map, writing only those values set. |
|
| 318 |
// Step2: readback the entire eeprom map into the iface. |
|
| 319 |
val.as<mboard_eeprom_t>().commit(*_iface, mboard_eeprom_t::MAP_NXXX); |
|
| 320 |
_iface->mb_eeprom = mboard_eeprom_t(*_iface, mboard_eeprom_t::MAP_NXXX); |
|
| 319 | 321 |
return; |
| 320 | 322 |
|
| 321 | 323 |
default: UHD_THROW_PROP_SET_ERROR(); |
Also available in: Unified diff