diff options
author | michael-west <michael.west@ettus.com> | 2018-01-31 17:51:34 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-02-08 02:06:53 +0100 |
commit | dea958a0b9589e7b6bfec3e4716685ec19c64fd8 (patch) | |
tree | d14ff36b8334e79c49f089ce46d4d850b7bb2d8d /host | |
parent | 3df3b6cc62911f1a87d2c7ff0775e7c2644900d5 (diff) | |
download | uhd-dea958a0b9589e7b6bfec3e4716685ec19c64fd8.tar.gz uhd-dea958a0b9589e7b6bfec3e4716685ec19c64fd8.tar.bz2 uhd-dea958a0b9589e7b6bfec3e4716685ec19c64fd8.zip |
UBX: Add support for CAL antenna for rev E
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 |