X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/79544b28adc44792888788eac3d58a03003860c5..52ab55ab0da1a34f4ce62d2f730e39ac099d0555:/client/cmdmain.c diff --git a/client/cmdmain.c b/client/cmdmain.c index 8d590e9e..b6517caa 100644 --- a/client/cmdmain.c +++ b/client/cmdmain.c @@ -132,11 +132,9 @@ int getCommand(UsbCommand* response) bool WaitForResponseTimeout(uint32_t cmd, UsbCommand* response, size_t ms_timeout) { UsbCommand resp; - if (response == NULL) response = &resp; - // Wait until the command is received for(size_t dm_seconds=0; dm_seconds < ms_timeout/10; dm_seconds++) {