]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfpcf7931.c
CHG: the device-side code for "hf 14a sim x"
[proxmark3-svn] / client / cmdlfpcf7931.c
index c31a9f9cb11bec0c4620d7fe637359379e9f1842..0d8fb93d4c2d89024d26507f8039e2657a66b4b5 100644 (file)
@@ -10,7 +10,7 @@
 
 #include <stdio.h>
 #include <string.h>
 
 #include <stdio.h>
 #include <string.h>
-#include "proxusb.h"
+#include "proxmark3.h"
 #include "ui.h"
 #include "graph.h"
 #include "cmdparser.h"
 #include "ui.h"
 #include "graph.h"
 #include "cmdparser.h"
@@ -25,7 +25,8 @@ int CmdLFPCF7931Read(const char *Cmd)
 {
   UsbCommand c = {CMD_PCF7931_READ};
   SendCommand(&c);
 {
   UsbCommand c = {CMD_PCF7931_READ};
   SendCommand(&c);
-  WaitForResponse(CMD_ACK);
+  UsbCommand resp;
+  WaitForResponse(CMD_ACK,&resp);
   return 0;
 }
 
   return 0;
 }
 
Impressum, Datenschutz