diff options
author | Michael Auchter <michael.auchter@ni.com> | 2019-09-24 09:50:22 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-02-11 12:26:10 -0600 |
commit | 5ef29d93966aecb3c678aa5ee92cf60b0db835e5 (patch) | |
tree | 29aeb0513c2e7e27e486e092cb48cb85d936566e /images | |
parent | 9ffdd46974fa83db7ef4a76202e6708f776a327a (diff) | |
download | uhd-5ef29d93966aecb3c678aa5ee92cf60b0db835e5.tar.gz uhd-5ef29d93966aecb3c678aa5ee92cf60b0db835e5.tar.bz2 uhd-5ef29d93966aecb3c678aa5ee92cf60b0db835e5.zip |
mpm: deduplicate dboard eeprom handling
The _get_dboard_eeprom_info implementations are the same with the
exception of how the dboard eeprom is actually read. Break that out into
a _read_dboard_eeprom method to reduce code duplication.
The base class now defines a lambda expression for the eeprom reader
which can be changed in subclasses.
Co-authored-by: Lars Amsel <lars.amsel@ni.com>
Co-authored-by: Michael Auchter <michael.auchter@ni.com>
Diffstat (limited to 'images')
0 files changed, 0 insertions, 0 deletions