]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfio.c
Merge pull request #278 from marshmellow42/graphwork
[proxmark3-svn] / client / cmdlfio.c
index 626fe63973bcaa9b3ca30ee28364403d3c5840a8..be8cf25edbacba1c1dfe5775df0d8b75a7349ee7 100644 (file)
@@ -1,8 +1,19 @@
+//-----------------------------------------------------------------------------
+//
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// Low frequency ioProx commands
+// FSK2a, rf/64, 64 bits (complete)
+//-----------------------------------------------------------------------------
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <inttypes.h>
 #include <limits.h>
+#include "cmdlfio.h"
 #include "proxmark3.h"
 #include "data.h"
 #include "graph.h"
@@ -108,6 +119,8 @@ int CmdFSKdemodIO(const char *Cmd)
 
   PrintAndLog("IO Prox XSF(%02d)%02x:%05d (%08x%08x) [%02x %s]",version,facilitycode,number,code,code2, crc, crcStr);
   setDemodBuf(BitStream,64,idx);
+  setClockGrid(g_DemodClock, g_DemodStartIdx + (idx*g_DemodClock));
+
   if (g_debugMode){
     PrintAndLog("DEBUG: idx: %d, Len: %d, Printing demod buffer:",idx,64);
     printDemodBuff();
Impressum, Datenschutz