diff options
| author | Martin Braun <martin.braun@ettus.com> | 2020-05-28 15:41:21 -0700 | 
|---|---|---|
| committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-05-29 07:15:17 -0500 | 
| commit | d4e62f0d9d26107c0b6677308ea83b2f2dfe7da4 (patch) | |
| tree | e3bda3905e22d9b8867a4dce657fd774779b5715 /fpga/usrp3/lib/dsp/sim/sim_ddc_chain | |
| parent | 983fad664436301c31c3bc8c81b538a41537598b (diff) | |
| download | uhd-d4e62f0d9d26107c0b6677308ea83b2f2dfe7da4.tar.gz uhd-d4e62f0d9d26107c0b6677308ea83b2f2dfe7da4.tar.bz2 uhd-d4e62f0d9d26107c0b6677308ea83b2f2dfe7da4.zip | |
multi_usrp: Fix get_tx_freq() for RFNoC devices
get_tx_freq(), unlike get_rx_freq(), would not factor in the DSP
frequency. Before, this would happen:
    >>> U = uhd.usrp.MultiUSRP("type=x300")
    >>> tr = uhd.types.TuneRequest(1e9, 10e6)
    >>> res = U.set_tx_freq(tr)
    >>> res.clipped_rf_freq
    1000000000.0
    >>> U.get_tx_freq()
    1010000000.0
In other words, the TuneResult object was correct, but the return value
of get_tx_freq() was not. This fixes the issue.
Diffstat (limited to 'fpga/usrp3/lib/dsp/sim/sim_ddc_chain')
0 files changed, 0 insertions, 0 deletions
