]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/graph.c
lf sim fixes/creations correct now
[proxmark3-svn] / client / graph.c
index 243da4664b18a2ec365a77c3adb02a922ecf7c43..190dfe8f731dc9fbcd1a299261312e02c409b569 100644 (file)
@@ -24,10 +24,10 @@ void AppendGraph(int redraw, int clock, int bit)
   int i;
   //set first half the clock bit (all 1's or 0's for a 0 or 1 bit) 
   for (i = 0; i < (int)(clock / 2); ++i)
-    GraphBuffer[GraphTraceLen++] = bit ^ 1;
+    GraphBuffer[GraphTraceLen++] = bit ;
   //set second half of the clock bit (all 0's or 1's for a 0 or 1 bit)
   for (i = (int)(clock / 2); i < clock; ++i)
-    GraphBuffer[GraphTraceLen++] = bit;
+    GraphBuffer[GraphTraceLen++] = bit ^ 1;
 
   if (redraw)
     RepaintGraphWindow();
Impressum, Datenschutz