diff options
Diffstat (limited to 'gr-uhd/lib/uhd_mimo_sink.cc')
-rw-r--r-- | gr-uhd/lib/uhd_mimo_sink.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gr-uhd/lib/uhd_mimo_sink.cc b/gr-uhd/lib/uhd_mimo_sink.cc index 43ec04164..95174522a 100644 --- a/gr-uhd/lib/uhd_mimo_sink.cc +++ b/gr-uhd/lib/uhd_mimo_sink.cc @@ -55,7 +55,7 @@ public: void set_samp_rate_all(double rate){ _dev->set_tx_rate_all(rate); - do_samp_rate_error_message(rate, get_samp_rate_all()); + do_samp_rate_error_message(rate, get_samp_rate_all(), "TX"); } double get_samp_rate_all(void){ @@ -63,7 +63,9 @@ public: } uhd::tune_result_t set_center_freq(size_t chan, double freq){ - return _dev->set_tx_freq(chan, freq); + uhd::tune_result_t tr = _dev->set_tx_freq(chan, freq); + do_tune_freq_error_message(freq, _dev->get_tx_freq(chan), "TX"); + return tr; } uhd::freq_range_t get_freq_range(size_t chan){ |