changeset 215:fd96174924df

l1tm_async.c passes compilation
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 14 Jan 2017 19:59:33 +0000
parents 370fb4862df8
children 3da836ac1691
files chipsetsw/layer1/tm_cfile/l1tm_async.c
diffstat 1 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/chipsetsw/layer1/tm_cfile/l1tm_async.c	Sat Jan 14 19:42:43 2017 +0000
+++ b/chipsetsw/layer1/tm_cfile/l1tm_async.c	Sat Jan 14 19:59:33 2017 +0000
@@ -67,13 +67,9 @@
     #include "l1p_sign.h"
   #endif
 
-  #ifndef ETM_PROTOCOL
-    #error ETM_PROTOCOL is not defined
-  #endif
-
-  #ifndef ETM_MODE
-    #error ETM_MODE is not defined
-  #endif
+  /* FreeCalypso TCS211 reconstruction */
+  #define ETM_PROTOCOL	0
+  #define ETM_MODE	0
 
 //------------------------------------
 // Prototypes from external functions
@@ -257,7 +253,7 @@
       case FLEXI_ABB_WRITE:  l1tm_flexi_abb_write(prim, &tm_ret); break;
       case FLEXI_ABB_READ:   l1tm_flexi_abb_read(prim, &tm_ret); break;  
     #endif
-#if (CODE_VERSION != SIMULATION)
+#if 0 //(CODE_VERSION != SIMULATION)	// FreeCalypso TCS211 reconstruction
       case DRP_CALIB_WRITE:  l1tm_drp_calib_write(prim, &tm_ret); break;
       case DRP_CALIB_READ :  l1tm_drp_calib_read(prim, &tm_ret); break;  // TBD for Future Use
 #endif // CODE_VERSION