summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-02-17 16:55:23 -0800
committerJosh Blum <josh@joshknows.com>2012-02-17 16:55:23 -0800
commit8f8ac3397aaa85b64aaa8722efdc1c0c40e93052 (patch)
treeacd9a8d4f189d449a49d261ac5690bc2a5b34c8a /host
parent59d06f718130c19f808d898f438a1fcb9cdefc04 (diff)
downloaduhd-8f8ac3397aaa85b64aaa8722efdc1c0c40e93052.tar.gz
uhd-8f8ac3397aaa85b64aaa8722efdc1c0c40e93052.tar.bz2
uhd-8f8ac3397aaa85b64aaa8722efdc1c0c40e93052.zip
dsp rework: fix for vita occ trailer packing
Diffstat (limited to 'host')
-rw-r--r--host/lib/transport/gen_vrt_if_packet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/gen_vrt_if_packet.py b/host/lib/transport/gen_vrt_if_packet.py
index 245a7ddbd..e28ce3aae 100644
--- a/host/lib/transport/gen_vrt_if_packet.py
+++ b/host/lib/transport/gen_vrt_if_packet.py
@@ -137,7 +137,7 @@ void vrt::if_hdr_pack_$(suffix)(
#if $pred & $tlr_p
{
const size_t empty_bytes = if_packet_info.num_payload_words32*sizeof(boost::uint32_t) - if_packet_info.num_payload_bytes;
- if_packet_info.tlr |= (0x3 << 22) | (occ_table[empty_bytes & 0x3] << 10);
+ if_packet_info.tlr = (0x3 << 22) | (occ_table[empty_bytes & 0x3] << 10);
}
packet_buff[$num_header_words+if_packet_info.num_payload_words32] = $(XE_MACRO)(if_packet_info.tlr);
#set $flags |= (0x1 << 26);