From 765f6735e661fb5a986451ded984d85675832294 Mon Sep 17 00:00:00 2001 From: Toni Jones Date: Tue, 7 Jan 2020 10:13:40 -0600 Subject: uhd: Correct rx/tx EEPROM typo Correct a typo differentiating RX and TX EEPROM paths. --- host/lib/usrp/x300/x300_radio_control.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'host/lib/usrp/x300/x300_radio_control.cpp') 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(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(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; } -- cgit v1.2.3