diff options
Diffstat (limited to 'gr-uhd/lib/uhd_simple_sink.cc')
-rw-r--r-- | gr-uhd/lib/uhd_simple_sink.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gr-uhd/lib/uhd_simple_sink.cc b/gr-uhd/lib/uhd_simple_sink.cc index d4bb7d437..9df6c8e02 100644 --- a/gr-uhd/lib/uhd_simple_sink.cc +++ b/gr-uhd/lib/uhd_simple_sink.cc @@ -52,7 +52,7 @@ public: void set_samp_rate(double rate){ _dev->set_tx_rate(rate); - do_samp_rate_error_message(rate, get_samp_rate()); + do_samp_rate_error_message(rate, get_samp_rate(), "TX"); } double get_samp_rate(void){ @@ -60,7 +60,9 @@ public: } uhd::tune_result_t set_center_freq(double freq){ - return _dev->set_tx_freq(freq); + uhd::tune_result_t tr = _dev->set_tx_freq(freq); + do_tune_freq_error_message(freq, _dev->get_tx_freq(), "TX"); + return tr; } uhd::freq_range_t get_freq_range(void){ |