]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdmain.c
ADD: the option to simulate tnp3xxx inthe command "hf mf sim"
[proxmark3-svn] / client / cmdmain.c
index b35ba63c8cf0a7c0ed1aad2a27ed3dff8936d878..d84d96ef9f957362ae17b5d1f8f1bd6b3c49fcea 100644 (file)
@@ -137,9 +137,11 @@ int getCommand(UsbCommand* response)
  * @return true if command was returned, otherwise false
  */
 bool WaitForResponseTimeout(uint32_t cmd, UsbCommand* response, size_t ms_timeout) {
-  
+
+  UsbCommand resp;
+       
   if (response == NULL) {
-    UsbCommand resp;
+
     response = &resp;
   }
 
Impressum, Datenschutz