changeset 672:0dc6f9e8e980

gsm-fw/ccd/asn1_objid.c: _TMS470 conditional: do what the official fw does
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 28 Sep 2014 19:36:23 +0000
parents 210268d8e553
children 2f7df7a314f8
files gsm-fw/ccd/asn1_objid.c
diffstat 1 files changed, 13 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/ccd/asn1_objid.c	Sun Sep 28 18:23:19 2014 +0000
+++ b/gsm-fw/ccd/asn1_objid.c	Sun Sep 28 19:36:23 2014 +0000
@@ -68,11 +68,12 @@
   U8    BER_Len;
 
 #ifdef DEBUG_CCD
-	#ifndef CCD_SYMBOLS
-  TRACE_CCD (globs, "cdc_asn1_obj_id_decode()");
-	#else
-	TRACE_CCD (globs, "cdc_asn1_obj_id_decode() %s", mcomp[melem[e_ref].elemRef].name);
-	#endif
+  #ifndef CCD_SYMBOLS
+    TRACE_CCD (globs, "cdc_asn1_obj_id_decode()");
+  #else
+    TRACE_CCD (globs, "cdc_asn1_obj_id_decode() %s",
+		mcomp[melem[e_ref].elemRef].name);
+  #endif
 #endif
 
   globs->pstructOffs = melem[e_ref].structOffs;
@@ -98,7 +99,7 @@
   /*
    * Copy the content of object identifier bytes into the C-Structure.
    */
-#ifdef _TMS470
+#if 1 //#ifdef _TMS470
   bf_incBitpos (8 * BER_Len, globs);
 #else
   {
@@ -129,11 +130,12 @@
 {
 
 #ifdef DEBUG_CCD
-	#ifndef CCD_SYMBOLS
-  TRACE_CCD (globs, "cdc_asn1_obj_id_encode()");
-	#else
-	TRACE_CCD (globs, "cdc_asn1_obj_id_encode() %s", mcomp[melem[e_ref].elemRef].name);
-	#endif
+  #ifndef CCD_SYMBOLS
+    TRACE_CCD (globs, "cdc_asn1_obj_id_encode()");
+  #else
+    TRACE_CCD (globs, "cdc_asn1_obj_id_encode() %s",
+		mcomp[melem[e_ref].elemRef].name);
+  #endif
 #endif
 
   return 1;