diff options
author | Johnathan Corgan | 2009-09-17 10:37:27 -0700 |
---|---|---|
committer | Johnathan Corgan | 2009-12-03 15:49:12 -0800 |
commit | 7f28201b45a63735b3b710105e1c86dbe1f4e514 (patch) | |
tree | c7514f6284d327db73beedace311a0f4850dff7c /usrp2/firmware/apps/app_common_v2.c | |
parent | a198e5134b00a1d5b98b5447aafd3cdba8508609 (diff) | |
download | gnuradio-7f28201b45a63735b3b710105e1c86dbe1f4e514.tar.gz gnuradio-7f28201b45a63735b3b710105e1c86dbe1f4e514.tar.bz2 gnuradio-7f28201b45a63735b3b710105e1c86dbe1f4e514.zip |
Applied 'start streaming at' patch from Douglas Geiger
Diffstat (limited to 'usrp2/firmware/apps/app_common_v2.c')
-rw-r--r-- | usrp2/firmware/apps/app_common_v2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usrp2/firmware/apps/app_common_v2.c b/usrp2/firmware/apps/app_common_v2.c index 67cccd53b..3681046e3 100644 --- a/usrp2/firmware/apps/app_common_v2.c +++ b/usrp2/firmware/apps/app_common_v2.c @@ -478,7 +478,10 @@ handle_control_chan_frame(u2_eth_packet_t *pkt, size_t len) break; case OP_START_RX_STREAMING: - start_rx_streaming_cmd(&pkt->ehdr.src, (op_start_rx_streaming_t *) payload); + if (pkt->fixed.timestamp == -1) // Start now (default) + start_rx_streaming_cmd(&pkt->ehdr.src, (op_start_rx_streaming_t *) payload); + else + start_rx_streaming_at_cmd(&pkt->ehdr.src, (op_start_rx_streaming_t *)payload, pkt->fixed.timestamp); ok = true; goto generic_reply; |