diff options
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/dboard/db_ubx.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/db_ubx.cpp b/host/lib/usrp/dboard/db_ubx.cpp index b1e712b69..0e62dbabf 100644 --- a/host/lib/usrp/dboard/db_ubx.cpp +++ b/host/lib/usrp/dboard/db_ubx.cpp @@ -77,7 +77,8 @@ enum ubx_cpld_field_id_t RXDRV_FORCEON = 21, RXAMP_FORCEON = 22, RXLNA1_FORCEON = 23, - RXLNA2_FORCEON = 24 + RXLNA2_FORCEON = 24, + CAL_ENABLE = 25 }; struct ubx_gpio_field_info_t @@ -738,6 +739,8 @@ private: { //validate input assert_has(ubx_tx_antennas, ant, "ubx tx antenna name"); + set_cpld_field(CAL_ENABLE, (ant == "CAL")); + write_cpld_reg(); } // Set RX antennas |