changeset 283:75188c031f4e

l1_trace.c: bogus sprintf formats from TCS211 corrected
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 07 Aug 2017 06:13:44 +0000
parents 50fa2f79c1d4
children ece3ecbcd4f1
files src/cs/layer1/cfile/l1_trace.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/layer1/cfile/l1_trace.c	Mon Aug 07 05:42:47 2017 +0000
+++ b/src/cs/layer1/cfile/l1_trace.c	Mon Aug 07 06:13:44 2017 +0000
@@ -1416,7 +1416,7 @@
 
           case PM_EQUAL_0:
           {
-	  #if 1	/* TCS211 bogus format string */
+	  #if 0	/* TCS211 bogus format string */
             sprintf (str,">  PM %ld %ld %ld %ld %ld %ld %ld %d %ld %d\n\r",
 	  #else	/* LoCosto correction */
             sprintf (str,">  PM %ld %ld %ld %ld %ld %ld %ld %d %ld\n\r",
@@ -2254,7 +2254,7 @@
      * binary-matching source reconstruction: TCS211 version always
      * printed all fields even without L1_EOTD.
      */
-    #if 1 //(L1_EOTD)
+    #if (L1_EOTD)
         sprintf(str,"NSY_I %ld %d %d %ld %ld %d %d %ld %ld %ld %ld %ld %ld %ld %ld\n\r",
     #else
         sprintf(str,"NSY_I %ld %d %d %ld %ld %d %d\n\r",