diff options
author | Johnathan Corgan | 2010-06-19 11:32:18 -0700 |
---|---|---|
committer | Johnathan Corgan | 2010-06-19 11:32:18 -0700 |
commit | ec7e995ca213a293ff5e068068ffd04e6b7ee7b1 (patch) | |
tree | 9e0711a1650ae181eea833fd34068fdfd00bdd19 /gr-usrp2/src/usrp2_sink_base.cc | |
parent | e19404263e08fce0259069a311e321ed5277e16d (diff) | |
parent | e20160b7cc480176ba629ebfbe9fb073963c25d3 (diff) | |
download | gnuradio-ec7e995ca213a293ff5e068068ffd04e6b7ee7b1.tar.gz gnuradio-ec7e995ca213a293ff5e068068ffd04e6b7ee7b1.tar.bz2 gnuradio-ec7e995ca213a293ff5e068068ffd04e6b7ee7b1.zip |
Merge branch 'master' into next
* master:
gr-usrp2: implement start_streaming_at(usrp2::fpga_timestamp time)
Diffstat (limited to 'gr-usrp2/src/usrp2_sink_base.cc')
-rw-r--r-- | gr-usrp2/src/usrp2_sink_base.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gr-usrp2/src/usrp2_sink_base.cc b/gr-usrp2/src/usrp2_sink_base.cc index ce473f236..c9b34a54a 100644 --- a/gr-usrp2/src/usrp2_sink_base.cc +++ b/gr-usrp2/src/usrp2_sink_base.cc @@ -36,7 +36,9 @@ usrp2_sink_base::usrp2_sink_base(const char *name, : usrp2_base(name, input_signature, gr_make_io_signature(0, 0, 0), - ifc, mac) + ifc, mac), + d_should_wait(false), + d_tx_time(0) { // NOP } @@ -155,3 +157,10 @@ bool usrp2_sink_base::read_gpio(uint16_t *value) { return d_u2->read_gpio(usrp2::GPIO_TX_BANK, value); } + +bool usrp2_sink_base::start_streaming_at(usrp2::fpga_timestamp time) +{ + d_should_wait = true; + d_tx_time = time; + return true; +} |