diff gsm-fw/include/condat/gsm.h @ 663:643379e7e141

gsm-fw/include/condat: initial round of fixes
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 28 Sep 2014 04:25:41 +0000
parents a712c95b60c1
children
line wrap: on
line diff
--- a/gsm-fw/include/condat/gsm.h	Sun Sep 28 01:14:48 2014 +0000
+++ b/gsm-fw/include/condat/gsm.h	Sun Sep 28 04:25:41 2014 +0000
@@ -151,7 +151,7 @@
 #define NEW_BUFFER(p,s)    UBYTE buf_##p [(s)+sizeof(T_PRIM_HEADER)]; T_PRIM *p=(T_PRIM*)p1
 #endif
 
-#if !defined (_TMS470)
+#if 0 //!defined (_TMS470)
 #define Sprintf sprintf
 #else
 int sprintf( char *buffer, const char *format, ... );
@@ -159,7 +159,7 @@
 
 #ifndef NEW_FRAME
 
-#ifdef _TMS470
+#if 1 //#ifdef _TMS470
   #define SET_PRIM_OPCODE(P,O) P->custom.opc = O; P->custom.opc2 = 0
 #else
   #define SET_PRIM_OPCODE(P,O) P->custom.opc = O
@@ -424,7 +424,7 @@
 #ifdef OPTION_TIMER
 #define TSTART(i,h,v) tim_start_timer(i,h,v)
 #else
-#define TSTART(i,h,v) TIMER_START(VSI_CALLER h,v)
+#define TSTART(i,h,v) vsi_t_start(VSI_CALLER h,v)
 #endif
 
 #ifdef OPTION_RELATIVE