diff options
author | Johnathan Corgan | 2010-07-22 17:34:20 -0700 |
---|---|---|
committer | Johnathan Corgan | 2010-07-22 17:34:20 -0700 |
commit | 566363ff8077c92a0899513bd27165be8d70f41b (patch) | |
tree | 4ab35fb549b3d439e8b8c881273b54e827723b14 /gr-uhd/lib/uhd_mimo_source.cc | |
parent | b055c7b35144093aa31830bf891c18a9751beb86 (diff) | |
parent | c3c4303b9fa4987369e9641ab4206724da74f3b2 (diff) | |
download | gnuradio-566363ff8077c92a0899513bd27165be8d70f41b.tar.gz gnuradio-566363ff8077c92a0899513bd27165be8d70f41b.tar.bz2 gnuradio-566363ff8077c92a0899513bd27165be8d70f41b.zip |
Merge remote branch 'jblum/uhd' into next
* jblum/uhd:
uhd: better error messages for tune and set sample rate
Diffstat (limited to 'gr-uhd/lib/uhd_mimo_source.cc')
-rw-r--r-- | gr-uhd/lib/uhd_mimo_source.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gr-uhd/lib/uhd_mimo_source.cc b/gr-uhd/lib/uhd_mimo_source.cc index 28bd1e109..b620a56fc 100644 --- a/gr-uhd/lib/uhd_mimo_source.cc +++ b/gr-uhd/lib/uhd_mimo_source.cc @@ -55,7 +55,7 @@ public: void set_samp_rate_all(double rate){ _dev->set_rx_rate_all(rate); - do_samp_rate_error_message(rate, get_samp_rate_all()); + do_samp_rate_error_message(rate, get_samp_rate_all(), "RX"); } 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_rx_freq(chan, freq); + uhd::tune_result_t tr = _dev->set_rx_freq(chan, freq); + do_tune_freq_error_message(freq, _dev->get_rx_freq(chan), "RX"); + return tr; } uhd::freq_range_t get_freq_range(size_t chan){ |