changeset 237:8a351ce20c81

l1tm_func.c: l1tm_ffs() reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jan 2017 07:35:46 +0000
parents b698734107d0
children 17b2be4a3964
files chipsetsw/layer1/tm_cfile/l1tm_func.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/tm_cfile/l1tm_func.c	Sun Jan 15 07:24:53 2017 +0000
+++ b/chipsetsw/layer1/tm_cfile/l1tm_func.c	Sun Jan 15 07:35:46 2017 +0000
@@ -1231,9 +1231,13 @@
   tm_return->index = 0;
 }
 
+/* TCS211 function missing in LoCosto, reconstructed from disassembly */
 void l1tm_ffs(T_TESTMODE_PRIM *prim, T_TM_RETURN *tm_return)
 {
-/* TCS211 function missing in LoCosto, to be reconstructed from disasm */
+  tm_return->size = tm_ffs(tm_return->result, 32, prim->u.ffs.packet,
+                           prim->str_len_in_bytes);
+  tm_return->status = E_OK;
+  tm_return->index = 0;
 }
 
 /*-------------------------------------------------------*/