aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorLane Kolbly <lane.kolbly@ni.com>2021-09-14 14:30:30 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-09-16 11:30:28 -0700
commit0ee2a409c4796f87d2d311356b775d437a5cc102 (patch)
tree2aaa63dbb7bb9846eda30f8227d4e8a7c587145b /host/examples
parent1be44df0fc351975a6779bbe3cf7b2f08bf57a8e (diff)
downloaduhd-0ee2a409c4796f87d2d311356b775d437a5cc102.tar.gz
uhd-0ee2a409c4796f87d2d311356b775d437a5cc102.tar.bz2
uhd-0ee2a409c4796f87d2d311356b775d437a5cc102.zip
uhd: zbx: Prevent TX antenna config from disrupting RX
So, both the set_tx_antenna_switches and set_rx_antenna_switches functions configure the TX0_ANT_11 register (which controls the final switch before the TX/RX port, switching it between the three TX paths and the RX path). The RX antenna configuration code will, if the RX antenna is set to TX/RX, configure that switch to the TX/RX->RX path when the ATR is set to RX. However, the TX antenna config code will always configure that switch to the "bypass" path, for both the 0X and RX ATR modes, regardless of whether the RX side actually needs that path. Ergo, this change makes set_tx_antenna_switches only configure that switch when it is configuring the XX or TX modes.
Diffstat (limited to 'host/examples')
0 files changed, 0 insertions, 0 deletions