aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp b/host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp
index ae750f903..654cf411d 100644
--- a/host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp
+++ b/host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp
@@ -450,8 +450,8 @@ void rhodium_radio_control_impl::_update_corrections(
if (enable) {
const std::vector<uint8_t> db_serial_u8 = get_db_eeprom().count("serial")
- ? std::vector<uint8_t>()
- : get_db_eeprom().at("serial");
+ ? get_db_eeprom().at("serial")
+ : std::vector<uint8_t>();
const std::string db_serial =
db_serial_u8.empty() ? "unknown"
: std::string(db_serial_u8.begin(), db_serial_u8.end());