diff options
author | Toni Jones <toni.jones@ni.com> | 2020-01-07 10:13:40 -0600 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2020-01-07 10:25:24 -0800 |
commit | 765f6735e661fb5a986451ded984d85675832294 (patch) | |
tree | 9cbba5ae692ccf81d444030a8a665a7dda17f351 | |
parent | c6a7bd6c52cfdb751084d9dcab43dbe6c02a3151 (diff) | |
download | uhd-765f6735e661fb5a986451ded984d85675832294.tar.gz uhd-765f6735e661fb5a986451ded984d85675832294.tar.bz2 uhd-765f6735e661fb5a986451ded984d85675832294.zip |
uhd: Correct rx/tx EEPROM typo
Correct a typo differentiating RX and TX EEPROM paths.
-rw-r--r-- | host/lib/usrp/x300/x300_radio_control.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/usrp/x300/x300_radio_control.cpp b/host/lib/usrp/x300/x300_radio_control.cpp index 8e4351d65..c41a19401 100644 --- a/host/lib/usrp/x300/x300_radio_control.cpp +++ b/host/lib/usrp/x300/x300_radio_control.cpp @@ -1018,11 +1018,11 @@ public: result["rx_rev"] = str_to_bytes(rx_eeprom.revision); } if (get_tree()->exists(DB_PATH / "tx_eeprom")) { - const auto rx_eeprom = - get_tree()->access<dboard_eeprom_t>(DB_PATH / "rx_eeprom").get(); - result["tx_id"] = str_to_bytes(rx_eeprom.id.to_pp_string()); - result["tx_serial"] = str_to_bytes(rx_eeprom.serial); - result["tx_rev"] = str_to_bytes(rx_eeprom.revision); + const auto tx_eeprom = + get_tree()->access<dboard_eeprom_t>(DB_PATH / "tx_eeprom").get(); + result["tx_id"] = str_to_bytes(tx_eeprom.id.to_pp_string()); + result["tx_serial"] = str_to_bytes(tx_eeprom.serial); + result["tx_rev"] = str_to_bytes(tx_eeprom.revision); } return result; } |