aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/zpu/apps/txrx_uhd.c
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-29 01:19:08 -0700
committerJosh Blum <josh@joshknows.com>2011-07-29 01:19:08 -0700
commit043c586ff8745b0cc01ed173d23951289dbcffcf (patch)
treea2a22add4da3807e88da000faaecfba647e16d95 /firmware/zpu/apps/txrx_uhd.c
parentcf606156a06f6053713900fd342d36d4c74e0d7e (diff)
downloaduhd-043c586ff8745b0cc01ed173d23951289dbcffcf.tar.gz
uhd-043c586ff8745b0cc01ed173d23951289dbcffcf.tar.bz2
uhd-043c586ff8745b0cc01ed173d23951289dbcffcf.zip
usrp2: shutoff streaming using the stop bit (fix)
Diffstat (limited to 'firmware/zpu/apps/txrx_uhd.c')
-rw-r--r--firmware/zpu/apps/txrx_uhd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/zpu/apps/txrx_uhd.c b/firmware/zpu/apps/txrx_uhd.c
index 0d05b58db..dfb484bc5 100644
--- a/firmware/zpu/apps/txrx_uhd.c
+++ b/firmware/zpu/apps/txrx_uhd.c
@@ -54,14 +54,14 @@ static void handle_udp_data_packet(
if (payload == NULL) switch(src.port){
case USRP2_UDP_RX_DSP0_PORT:
//the end continuous streaming command
- sr_rx_ctrl0->cmd = 1 << 31; //no samples now
+ sr_rx_ctrl0->cmd = 1 << 31 | 1 << 28; //no samples now
sr_rx_ctrl0->time_secs = 0;
sr_rx_ctrl0->time_ticks = 0; //latch the command
break;
case USRP2_UDP_RX_DSP1_PORT:
//the end continuous streaming command
- sr_rx_ctrl1->cmd = 1 << 31; //no samples now
+ sr_rx_ctrl1->cmd = 1 << 31 | 1 << 28; //no samples now
sr_rx_ctrl1->time_secs = 0;
sr_rx_ctrl1->time_ticks = 0; //latch the command
break;