diff options
author | Martin Braun <martin.braun@ettus.com> | 2014-07-07 18:06:20 +0200 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2014-07-08 12:10:22 +0200 |
commit | 12523cdb3218be85565c3c3bcb49d113e6bac518 (patch) | |
tree | 94960d3ed62cf265d6c1966a3a9a628f449af4f4 /gr-uhd/lib/usrp_source_impl.h | |
parent | af0a33196d7a39d27df7f1810f395e6f64cf43b6 (diff) |
uhd: Added checks for lock sensors.
When operating with an external ref, in MIMO mode or with a GPSDO,
the constructor now waits until the lock sensors report succesful
locking.
If this fails, a warning is displayed using the logger interface,
to keep backward compatibility.
Diffstat (limited to 'gr-uhd/lib/usrp_source_impl.h')
-rw-r--r-- | gr-uhd/lib/usrp_source_impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-uhd/lib/usrp_source_impl.h b/gr-uhd/lib/usrp_source_impl.h index faceb5a177..6de4c9c6a3 100644 --- a/gr-uhd/lib/usrp_source_impl.h +++ b/gr-uhd/lib/usrp_source_impl.h @@ -125,6 +125,9 @@ namespace gr { gr_vector_void_star &output_items); private: + /*! \brief Run through all 'lock' sensors and make sure they are actually locked. + */ + bool _check_sensors_locked(); #ifdef GR_UHD_USE_STREAM_API ::uhd::rx_streamer::sptr _rx_stream; size_t _samps_per_packet; |