changeset 239:a2b95b81c81f

l1tm_func.c: reconstruction complete, exact match to TCS211 binary object
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jan 2017 08:44:01 +0000
parents 17b2be4a3964
children 2fe45f9bebf8
files chipsetsw/layer1/tm_cfile/l1tm_func.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/tm_cfile/l1tm_func.c	Sun Jan 15 08:33:57 2017 +0000
+++ b/chipsetsw/layer1/tm_cfile/l1tm_func.c	Sun Jan 15 08:44:01 2017 +0000
@@ -2749,7 +2749,7 @@
   #endif
 
   ptmret = (UWORD8 *) &tm_ret->result[0];
-  size = (((tm_ret->size) > TM_PAYLOAD_UPLINK_SIZE_MAX) ? TM_PAYLOAD_UPLINK_SIZE_MAX: (tm_ret->size));
+  size = tm_ret->size;
   while (size--) {
     *pbuf++ = *ptmret;
     cksum ^= *ptmret++;