changeset 189:8ab19f00e40d

tpudrv.c: TP_Program() reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 Jun 2016 03:15:18 +0000
parents 81064b792cc8
children c933041d07bd
files chipsetsw/layer1/tpu_drivers/source/tpudrv.c
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/tpu_drivers/source/tpudrv.c	Wed Jun 08 03:05:09 2016 +0000
+++ b/chipsetsw/layer1/tpu_drivers/source/tpudrv.c	Wed Jun 08 03:15:18 2016 +0000
@@ -247,9 +247,6 @@
 }
 
 
-
-
-
 /*
  * TP_Program
  *
@@ -257,22 +254,16 @@
  * (Do not write terminating 0)
  *
  */
-void *TP_Program(const SYS_UWORD16 *src)
+void TP_Program(const SYS_UWORD16 *src)
 {
    /* Write TPU instructions until SLEEP */
    while (*src)
    {
       *TP_Ptr++ = *src++;
    }
-   #if (TOOL_CHOICE == 3)   // 2.54 Migration
-   return((void *)NULL);
-   #endif // TOOL_CHOICE == 3
-    //  return((void *)NULL);//ompas00090550
-
 }
 
 
-
 void TP_Reset(SYS_UWORD16 on)
 {
    if (on) {