summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/apps/txrx.c
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-03 19:43:20 -0700
committerJosh Blum <josh@joshknows.com>2010-04-03 19:43:20 -0700
commit83bd55d63972804e62f3890a4a90c8288fcbad0c (patch)
treeb5bf6a8877b37b238f9f540b0b77d1425ed619b9 /firmware/microblaze/apps/txrx.c
parentf4ccb204473884126bcff6551d224e263dd5102a (diff)
downloaduhd-83bd55d63972804e62f3890a4a90c8288fcbad0c.tar.gz
uhd-83bd55d63972804e62f3890a4a90c8288fcbad0c.tar.bz2
uhd-83bd55d63972804e62f3890a4a90c8288fcbad0c.zip
extended stream cmd with mode enum, and extended fragment flags in metadata
Diffstat (limited to 'firmware/microblaze/apps/txrx.c')
-rw-r--r--firmware/microblaze/apps/txrx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/microblaze/apps/txrx.c b/firmware/microblaze/apps/txrx.c
index 39a503091..555dd4dd5 100644
--- a/firmware/microblaze/apps/txrx.c
+++ b/firmware/microblaze/apps/txrx.c
@@ -385,7 +385,7 @@ void handle_udp_ctrl_packet(
issue_stream_command(
(chain)? streaming_items_per_frame : num_samps, //nsamps
(ctrl_data_in->data.stream_cmd.now == 0)? false : true, //now
- chain, //chain
+ (ctrl_data_in->data.stream_cmd.chain == 0)? chain : true, //chain
ctrl_data_in->data.stream_cmd.secs,
ctrl_data_in->data.stream_cmd.ticks,
false
@@ -398,7 +398,7 @@ void handle_udp_ctrl_packet(
issue_stream_command(
(chain)? streaming_items_per_frame : num_samps, //nsamps
true, //now
- chain, //chain
+ (ctrl_data_in->data.stream_cmd.chain == 0)? chain : true, //chain
0, 0, //time does not matter
false
);